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
A clear and concise description of what you expected to happen.
Actual Behavior
Right now, all types of overlays add body margin. This should only happen for modal like overlays (preventsScroll: true).
This PR tackles that: #2331
However, it can still happen multiple overlays having preventsScroll: true are nested. Accumulation would still happen.
Solution
Interacting with the window/body should be handled on OverlaysManager (singleton) level. When the OverlaysManager detects another overlay is already handling body margin, it should keep margin as is.
The text was updated successfully, but these errors were encountered:
Expected behavior
A clear and concise description of what you expected to happen.
Actual Behavior
Right now, all types of overlays add body margin. This should only happen for modal like overlays (preventsScroll: true).
This PR tackles that: #2331
However, it can still happen multiple overlays having preventsScroll: true are nested. Accumulation would still happen.
Solution
Interacting with the window/body should be handled on OverlaysManager (singleton) level. When the OverlaysManager detects another overlay is already handling body margin, it should keep margin as is.
The text was updated successfully, but these errors were encountered: