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

Body behind the modal scrolls #609

Open
Deepak2322 opened this issue May 2, 2019 · 1 comment
Open

Body behind the modal scrolls #609

Deepak2322 opened this issue May 2, 2019 · 1 comment

Comments

@Deepak2322
Copy link

I have modal inside which I have a list of passengers who have scroll into view when clicked on a particular passenger. This works perfectly fine, but the body behind the modal also scrolls when this happens even thous I have frozen scroll using "overflow: hidden" CSS property. How to avoid body scroll.

@spasea
Copy link

spasea commented Jul 16, 2023

@Deepak2322 I'm not sure whether it's still relevant, but adding overflow: hidden to html tag works for me

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

2 participants