Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Scroll lock on display modal #88

Open
andreimc opened this issue Jul 26, 2019 · 3 comments
Open

Scroll lock on display modal #88

andreimc opened this issue Jul 26, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@andreimc
Copy link

I was just wondering if it's possible to lock the scroll on display modal?

@andreimc
Copy link
Author

Like body scroll

@jxom
Copy link
Owner

jxom commented Jul 27, 2019

Hey!

Can you please elaborate on what you mean by locking the scroll? And are you referring to the DialogModal component?
If I understand your question correctly, the DialogModal component should have its scroll locked by default, with the ability to add scrolling with the hasScroll prop.

@andreimc
Copy link
Author

@jxom behind overlay you can still scroll reackit dialog locks it and so do other modals

@jxom jxom added the bug Something isn't working label Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants