Skip to content
This repository was archived by the owner on Sep 7, 2020. It is now read-only.

Nested Modals will break scrolling #57

Closed
obiwan007 opened this issue May 31, 2016 · 4 comments
Closed

Nested Modals will break scrolling #57

obiwan007 opened this issue May 31, 2016 · 4 comments

Comments

@obiwan007
Copy link

If you have a really high/large modal and open a modal on top if it, the scrolling is broken if you close the top form again.
Maybe some infos on how to fix:
http://stackoverflow.com/questions/19305821/multiple-modals-overlay

@dougludlow
Copy link
Owner

@obiwan007 thanks for finding this. I'm a little swamped on other projects so I probably won't be able to take a look at this for a couple weeks. Just FYI.

@AngularDevMrs
Copy link

I have the same issue. I came across several hacky solutions but not a proper one yet.

@fxcosta
Copy link

fxcosta commented Apr 18, 2017

I do not know if this is the best way to solve it, but in my case it worked something similar to this:

        document.querySelector('body').classList.add('modal-open');

On onClose and onDismiss events in a component method.

@dougludlow
Copy link
Owner

This should finally be fixed in v0.12. Enjoy.

dougludlow pushed a commit that referenced this issue Oct 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants