question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Toggling between Modals does not work correctly.

See original GitHub issue

Apparently this is a problem that arose as of version 5.1.0

Steps to reproduce the problem

  1. Open https://getbootstrap.com/docs/5.1/components/modal/.
  2. Go to section Toggle between modals.
  3. Click the button Open first modal.
  4. In modal 1, click on the button Open second modal.
  5. In modal 2, click on the button Back to first.
  6. 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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Sun3commented, Aug 28, 2021

I also tested the preview and it worked. Any ideas when this fix is released? It’s causing serious issues with our site…

Thanks.

1reaction
andreseduardopcommented, Aug 23, 2021

@GeoSot, it works for me. Thanks.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found