-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Multiple modals stacking, losing close binding issue. #48
Comments
Are you able to create a jsFiddle showing the issue? Not sure what would be causing this off the top of my head. Thanks |
I'll see if I can recreate it using jsFiddle sometime this week. I have to add that I'm also using Backbone JS to render the view inside the modal (which I don't see as an issue). |
Any luck on recreating this? |
Darn it. Can't replicate anymore -- http://jsfiddle.net/the_menace/9uYN5/. |
I think the issue might be with Backbone not properly disposing the view which is unrelated to the bootstrap-modal. My current app works as is using the declarative modal call to the modal so no need to worry about this anymore. Thanks for the help. |
I've encountered an issue where I 'show' a modal through another modal through $(object).modal('show') after you close all the modals all the way that it loses the 'hide' event binding after a few modal instances (show, hide, etc).
My work around right now is to basically use the href on the button to show the second modal as doing it programmatically would create the issue mentioned above.
I hope this gets fixed in the future, thanks guys!
p.s. if for some reason, there's a better programmatic workaround, let me know. Thanks.
The text was updated successfully, but these errors were encountered: