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
In an attempt to embed a remote page inside of a bootstrap modal I needed to use the "shown.bs.modal" event to know when to resize a slideshow within my external html once the modal had loaded. This "shown.bs.modal" event worked fine for me in 3 RC1 but since switching over to RC2 it is no longer working as expected.
As a test I wrote a small setTimeout function to keep checking the body for the "modal-open" class as a way of determining when the modal had actually fully opened and then resized my slideshow based on that. This is fine but shouldnt the "shown.bs.modal" event only fire once the modal has fully finished loading (i.e. once the body has the "modal-open" class)?
I've made an example of what I did here: http://codepen.io/anon/pen/wusak
(scroll down to the bottom of the JS window to see my button code)
The text was updated successfully, but these errors were encountered:
In an attempt to embed a remote page inside of a bootstrap modal I needed to use the "shown.bs.modal" event to know when to resize a slideshow within my external html once the modal had loaded. This "shown.bs.modal" event worked fine for me in 3 RC1 but since switching over to RC2 it is no longer working as expected.
As a test I wrote a small setTimeout function to keep checking the body for the "modal-open" class as a way of determining when the modal had actually fully opened and then resized my slideshow based on that. This is fine but shouldnt the "shown.bs.modal" event only fire once the modal has fully finished loading (i.e. once the body has the "modal-open" class)?
I've made an example of what I did here:
http://codepen.io/anon/pen/wusak
(scroll down to the bottom of the JS window to see my button code)
The text was updated successfully, but these errors were encountered: