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

[@mantine/core] Modal: Fix content shifting in full screen modal #2348

Merged
merged 29 commits into from Sep 4, 2022

Conversation

wes337
Copy link
Contributor

@wes337 wes337 commented Sep 4, 2022

Sets the width of the full screen modal to 100vw, which will fix the "shifting" content when/if the scrollbar disappears.

After:
modal-width-scrollbar

Resolves #2283

@rtivital rtivital merged commit 61b11ae into mantinedev:master Sep 4, 2022
@rtivital
Copy link
Member

rtivital commented Sep 4, 2022

Thanks!

@wes337 wes337 deleted the MN2283 branch September 5, 2022 07:32
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

Successfully merging this pull request may close these issues.

Full screen modal content layout shift when OS scrollbar visible
2 participants