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
Whenever closing a .fade modal the animation should complete fully, however when an element in the modal is focused this is not the case. I can successfully reproduce this issue by using the any one of the bootstrap 5 modal examples that have .fade. The difference is hard to see at first glance so I attached slowed down videos of the two animations to identify the discrepancies.
Closing modal with no element focused:
nonFocusAnimation.mp4
As you can see the animation finishes and executes properly.
Closing modal with element within it focused:
focusAnimation.mp4
Here the animation starts, but then gets interrupted and suspends.
The text was updated successfully, but these errors were encountered:
suneettipirneni
changed the title
Modal .fade does not finish hide animation if element within it is focused.
Bootstrap 5 modal .fade does not finish hide animation if element within it is focused
Feb 5, 2021
Whenever closing a
.fade
modal the animation should complete fully, however when an element in the modal is focused this is not the case. I can successfully reproduce this issue by using the any one of the bootstrap 5 modal examples that have.fade
. The difference is hard to see at first glance so I attached slowed down videos of the two animations to identify the discrepancies.Closing modal with no element focused:
nonFocusAnimation.mp4
As you can see the animation finishes and executes properly.
Closing modal with element within it focused:
focusAnimation.mp4
Here the animation starts, but then gets interrupted and suspends.
macOS Big Sur 11.2
Safari 14.0.3
Bootstrap 5.0.0-beta1
https://getbootstrap.com/docs/5.0/components/modal/#varying-modal-content
The text was updated successfully, but these errors were encountered: