Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page is not interactable after closing any modal #1

Open
josesvito opened this issue Jan 3, 2022 · 10 comments
Open

Page is not interactable after closing any modal #1

josesvito opened this issue Jan 3, 2022 · 10 comments

Comments

@josesvito
Copy link

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
@mrholek
Copy link
Member

mrholek commented Jan 3, 2022

I will check it

@mrholek
Copy link
Member

mrholek commented Jan 3, 2022

What is your OS?

@camdecoster
Copy link

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
Copy link

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

@josesvito
Copy link
Author

@mrholek Windows 11 Pro & Windows 10 Pro

@mrholek
Copy link
Member

mrholek commented Jan 22, 2022

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

@mrholek
Copy link
Member

mrholek commented Jan 22, 2022

@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;"

@camdecoster
Copy link

@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
Copy link

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

@josesvito
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants