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
Since version 5.2.1, when a button in the modal body triggers the removal of the button itself or its parent, the modal closes. It worked correctly with version 5.2.0.
Edit:
Definitely related to #36863, reverting it fixes the issue.
Reduced test cases
For both test cases, click on the "Open modal" button then click on any "Remove row" button.
Bootstrap 5.2.1's modal change introduced in #36863 is causing problems for me, too, as described in this issue.
In modals, I have buttons and dropdowns hidden after a click. With Bootstrap 5.2.1, the modal dismisses after clicking these things, which is naturally surprising to our users.
Prerequisites
Describe the issue
Since version 5.2.1, when a button in the modal body triggers the removal of the button itself or its parent, the modal closes. It worked correctly with version 5.2.0.
Edit:
Definitely related to #36863, reverting it fixes the issue.
Reduced test cases
For both test cases, click on the "Open modal" button then click on any "Remove row" button.
What operating system(s) are you seeing the problem on?
Linux
What browser(s) are you seeing the problem on?
Firefox
What version of Bootstrap are you using?
5.2.1
The text was updated successfully, but these errors were encountered: