bootstrap-vue icon indicating copy to clipboard operation
bootstrap-vue copied to clipboard

Page is not interactable after closing any modal

Open josesvito opened this issue 3 years ago • 10 comments

I'm using Edge Chromium, the webpage is not interactable after closing any modal. You can try it from your documentation page: https://coreui.io/bootstrap-vue/components/modal.html#live-demo

  1. Click"Launch demo modal"
  2. Close the modal
  3. Click "Launch demo modal" or any supposed to be interactable link/button <- failed here

josesvito avatar Jan 03 '22 02:01 josesvito

I will check it

mrholek avatar Jan 03 '22 11:01 mrholek

What is your OS?

mrholek avatar Jan 03 '22 11:01 mrholek

I have some colleagues that are seeing this same issue, but I'm not. Everyone that's having the issue on my end is on Windows. It's happening in Chrome, Firefox, and Edge. Everything is working on my end. Any thoughts on how to debug?

camdecoster avatar Jan 12 '22 04:01 camdecoster

@mrholek, the modal elements aren't being removed from the DOM, though they aren't visible anymore.

camdecoster avatar Jan 20 '22 20:01 camdecoster

@mrholek Windows 11 Pro & Windows 10 Pro

josesvito avatar Jan 21 '22 07:01 josesvito

@camdecoster we add the possibility to keep a CModal in DOM after closing in the next release.

mrholek avatar Jan 22 '22 09:01 mrholek

@josesvito can you check if the body element has the following class name or styles after closing the modal

  • class="modal-open"
  • style="overflow: hidden; padding-right: 0px;"

mrholek avatar Jan 22 '22 13:01 mrholek

@camdecoster we add the possibility to keep a CModal in DOM after closing in the next release.

That wasn't a feature request. I'm saying that the modals are removed from the DOM when I check it on a working browser, but they aren't removed when I check it on a non-working browser.

camdecoster avatar Jan 22 '22 16:01 camdecoster

The body element doesn't have that class or those styles on my computer that has the issue.

camdecoster avatar Jan 24 '22 23:01 camdecoster

@josesvito can you check if the body element has the following class name or styles after closing the modal

  • class="modal-open"
  • style="overflow: hidden; padding-right: 0px;"

@mrholek doesn't seem it has any of those... https://imgur.com/a/kHuYdoi strange, this only happens on my work laptop but not on my desktop.

josesvito avatar Jan 27 '22 04:01 josesvito