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

[Bug]: Nested Modals causes content shift when scrollbar is there #655

Open
vicky-comeau opened this issue Jan 24, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@vicky-comeau
Copy link
Collaborator

Contact Details

No response

What happened?

https://gsoftdev.atlassian.net/browse/EFE-249
React-aria's usePreventScroll is what handles the removal of the scrollbar and prevents the body from shifting. Once another modal opens, the scrollbar is no longer there so it removes the padding from the html tag.

Component

Modal & Dialog

Component Version

latest

Which browsers are you seeing the problem on?

No response

Mobile Device

No response

Relevant log output

No response

@vicky-comeau vicky-comeau added the bug Something isn't working label Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant