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.

backdropClosesModal has no effect

See original GitHub issue

Clicking 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:closed
  • Created 8 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jossmaccommented, Jan 20, 2016

I changed the default behaviour now that there’s a nice close button/icon:

  • backdropClosesModal false
  • showCloseButton true
0reactions
davidspiesscommented, Jan 20, 2016

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 be true.

Read more comments on GitHub >

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

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