You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If possible, please include a link to a codesandbox with the reproduced problem
No response
Do you know how to fix the issue
No response
Are you willing to participate in fixing this issue and create a pull request with the fix
No response
Possible fix
You need to choose different workarounds for 2 cases - when overflow="outside" or "inside"
If outside, put padding with var(--removed-scroll-width, 0px) on fixed wrapper
If inside maybe the same, because it the same behavior when is fullwidth.
Another case that needed to be fixed is time when --removed-scroll-width was calculated.
For now is calculated AFTER modal was open. This cause CLS for fullwidth variant, and this is not good.
The text was updated successfully, but these errors were encountered:
What package has an issue
@mantine/core
Describe the bug
https://v5.mantine.dev/changelog/5-0-0/#fullscreen-modal
Inner padding for content of modal (20px in this example) get cutted by negative margin
In which browser did the problem occur
Chrome
If possible, please include a link to a codesandbox with the reproduced problem
No response
Do you know how to fix the issue
No response
Are you willing to participate in fixing this issue and create a pull request with the fix
No response
Possible fix
You need to choose different workarounds for 2 cases - when overflow="outside" or "inside"
If outside, put padding with
var(--removed-scroll-width, 0px)
on fixed wrapperIf inside maybe the same, because it the same behavior when is fullwidth.
Another case that needed to be fixed is time when --removed-scroll-width was calculated.
For now is calculated AFTER modal was open. This cause CLS for fullwidth variant, and this is not good.
The text was updated successfully, but these errors were encountered: