Toggling between Modals does not work correctly.
Created by: andreseduardop
Apparently this is a problem that arose as of version 5.1.0
Steps to reproduce the problem
- Open https://getbootstrap.com/docs/5.1/components/modal/.
- Go to section Toggle between modals.
- Click the button
Open first modal
. - In modal 1, click on the button
Open second modal
. - In modal 2, click on the button
Back to first
. - The problem occurs. Modal 2 does not close and modal one is not seen.
Conditions in which it occurs
Browser: Chrome. OS: Android and Windows. Bootstrap version: 5.1.0