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

weird scrollbar appear #893

Open
vortechron opened this issue Jul 5, 2018 · 2 comments
Open

weird scrollbar appear #893

vortechron opened this issue Jul 5, 2018 · 2 comments

Comments

@vortechron
Copy link

Description

multiple scrollbar when stacking modal.

Steps to reproduce

  1. open first modal
  2. open second modal while first modal still active
  3. close second modal
  4. now we can see scrollbar appear right after i close second modal
@vortechron
Copy link
Author

for those who face this issue can follow my current temporary fix:

just toggle html and body overflow to hidden on close and active.
hidden on active, auto on close

this will remove scrollbar that appear when you try to open multiple modal

@service-paradis
Copy link
Collaborator

A fix is needed in the modal component method beforeDestroy:
https://github.com/buefy/buefy/blob/dev/src/components/modal/Modal.vue#L221

Buefy should only remove is-clipped if thee closing modal is the last opened one.

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

No branches or pull requests

3 participants