-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Region show empties #3305
Comments
Right, now I've had some time to think about it: I think Marionette is doing the right thing. If we have multiple subviews looking at, potentially, the exact same HTML, it's easy for the developer to create event handlers on the same HTML without realising. I think we should check the documentation and ensure we're clear that A second point to consider: do we want to add an option to override this default behaviour? Perhaps a hook point of some sort? |
On the second point, the following from @blikblum can be used http://codepen.io/blikblum/pen/oBpjrm?editors=1010#0 |
I think the usefulness of Otherwise any rendered view should be attached to the el. I'd also like to point out that initially everyone was putting the The one possible issue this brought up is that |
Actually |
This whole thing did bring up: #3306 |
I think this is ready to be closed and is handled in other open issues.. Feel free to reopen if there's something left to address. |
Description
When we show a view with
template: false
in a Region, the result removes the template it's bound to.Expected behavior
The view should bind to the existing template.
Actual behavior
The existing template code is deleted.
Environment
Also
I'm posting this from my phone for discussion. I'll fill it out a bit more when I'm at a computer. Whether it's a bug or whether we should ensure we've documented the current behaviour, I don't know yet. I'm open to suggestions.
The text was updated successfully, but these errors were encountered: