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.

Open modal multiple times and closing it leaves behind the dark overlay permanently

See original GitHub issue

So if a modal is opened multiple times, and then exited only the latest overlay is removed and all other stay there permanently.

To test you can go to http://materializecss.com/modals.html and in the javascript console just run $('#modal1').openModal(); multiple times. You can see that after clicking any of the modal options only one overlay is removed.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:46 (3 by maintainers)

github_iconTop GitHub Comments

9reactions
gdoroncommented, Oct 13, 2016

@Dogfalo @acburst Are you still actively maintaing your awesome library? If yes, please merge the pull request, it’s more than a year since it was opened. If no, please add new collaborates to the project, I’m sure there’re many users who can and want to make this project continue.

Thoughts? @pascal-de-ladurantaye ?

2reactions
jhillhouse92commented, Nov 28, 2016

@Dogfalo What’s the status with this issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to be evil (but please don't!) - the modals & overlays edition
So the next step in this situation is to bring up DevTools in order to delete the modal and overlay, and maybe some...
Read more >
Bootstrap Modal Backdrop Remaining - Stack Overflow
Deleting the class "fade" caused the UI not to behave in the default way. The modal just appeared instead of slowly fading in...
Read more >
10 guidelines to consider when using overlays / modals - UXM
1. Use overlays very sparingly · 2. Don't suddenly open overlays · 3. Darken the page behind the overlay · 4. Allow users...
Read more >
CSS Overlay Techniques - Codrops
Lightweight overlays can be used for asking questions, obtaining input, introducing features, indicating progress, giving instructions, ...
Read more >
W3.CSS Modal - W3Schools
Modal content can be any HTML element (divs, headings, paragraphs, images, etc.). Example. <!-- Trigger/Open the Modal --> <button onclick="document ...
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