You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When create layout using ui definition in view, it didn't scoped to the current view. It was kind useless when the selector select element outside the view, and this would introduce bug in the application.
This also affected on regions definition, events an others definition that utilize selector inside view. For now i just select the element in the current view using backbone view this.$('selector') that will solve the problem and ignore all everything marionette view offers.
The text was updated successfully, but these errors were encountered:
I think we'd need an example of what you're talking about. as with backbone, things in marionette are related to the view's el. The ui is just looped through such that _this._ui[key] = _this.$(selector);
So if this.$('selector') is working but this.ui.foo isn't.. you have some other issue.
When create layout using ui definition in view, it didn't scoped to the current view. It was kind useless when the selector select element outside the view, and this would introduce bug in the application.
This also affected on regions definition, events an others definition that utilize selector inside view. For now i just select the element in the current view using backbone view this.$('selector') that will solve the problem and ignore all everything marionette view offers.
The text was updated successfully, but these errors were encountered: