Toggling between Modals does not work correctly.
See original GitHub issueApparently 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
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Toggling between two bootstrap modals not working
I am working on login/account creation in django and I am trying to use modals so users can create one of two accounts....
Read more >Modal not working - Material Design for Bootstrap
Hi, I'm having issues with modals in MCbootstrap. It won't toggle. Head <html lang="en"> <head> <meta name="viewport" content="width=device-width, ...
Read more >Modal · Bootstrap v4.6
Toggle a working modal demo by clicking the button below. It will slide down and fade in from the top of the page....
Read more >Managing Multiple Bootstrap Modals - Arroyo Labs
While the purpose of this blog post is to toggle between the two modals with click of buttons ModalOne and ModalTwo, we don't...
Read more >Bootstrap 5 Toggle Between Modals - GeeksforGeeks
Bootstrap 5 Toggle Between Modals is used to switch between modals, this does not mean there can be multiple opened modals, only one...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I also tested the preview and it worked. Any ideas when this fix is released? It’s causing serious issues with our site…
Thanks.
@GeoSot, it works for me. Thanks.