backdropClosesModal has no effect
See original GitHub issueClicking the backdrop does not close the lightbox, neither if i set backdropClosesModal
explicit when initializing it.
I tested it with Chrome and Firefox.
Issue Analytics
- State:
- Created 8 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Twitter bootstrap modal-backdrop doesn't disappear
My issue was due to the updatepanel placement. I had the entire modal in the updatepanel. If you declare the modal outside the...
Read more >Modal - Bootstrap
Static backdrop. When backdrop is set to static, the modal will not close when clicking outside it. Click the button below to try...
Read more >Bootstrap Modal - examples & tutorial
Clicking on the modal “backdrop” will automatically close the modal. Bootstrap only supports one modal window at a time. Nested modals aren't supported...
Read more >modal('show') after a modal('hide') doesn't work #3902 - GitHub
Rapidly reopening a modal after close causes the background to duplicate #5003 ... If during execution the next modal() is called, it has...
Read more >aria-modal - Accessibility - MDN Web Docs
If a dialog is not modal — there is no inert background and focus isn't confined to the dialog — either include aria-modal="false"...
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 changed the default behaviour now that there’s a nice close button/icon:
false
true
Awesome 👍 No worries, hope you had a great time!
One minor thing, i noticed after updating i had to set
backdropClosesModal
explicit to make it work. The documentation points out it would default betrue
.