ov-igloo-ui icon indicating copy to clipboard operation
ov-igloo-ui copied to clipboard

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

Open vicky-comeau opened this issue 1 year ago • 0 comments

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 avatar Jan 24 '24 16:01 vicky-comeau