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
Upon closer look, it seems that show.bs.modal is fired beforehidden.bs.modal, which basically adds another .modal-open class to body (therefore does nothing), and then removes the class; ultimately leaving the body with no .modal-open class.
I'm doubtful we'll support that.
One alternative is for you to have only one "true" modal, and then swap in the content of the other "modal" in a button click event handler. (The animation is arguably unnecessary.)
"switching" means I have an element inside a modal with attributes like this:
Upon closer look, it seems that
show.bs.modal
is fired beforehidden.bs.modal
, which basically adds another.modal-open
class tobody
(therefore does nothing), and then removes the class; ultimately leaving thebody
with no.modal-open
class.Here is an example: http://jsbin.com/iDovaBup/1/
(I'm not sure if this "switching" is allowed, though.)
The text was updated successfully, but these errors were encountered: