Replies: 3 comments
-
|
The demo is still on 3.10.2 so it's likely not running that patch yet, but if you can reproduce with 3.12.0 then this is definitely a regression. I can't personally reproduce on 3.12.0 but this application I have running 3.12.0 has a very static application frame that has an inner scroll container. |
Beta Was this translation helpful? Give feedback.
-
Are you updating the body while the overlay is open? |
Beta Was this translation helpful? Give feedback.
-
|
I have been able reproduce the issue here https://codesandbox.io/p/sandbox/gracious-sea-ktmpd2 to demonstrate the issue with 3.12.0. The body is not updated there, and the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey 👋
We use a lot of modals in our app and we have an issue with the background having scroll. It is more annoying when the opened layer does not have scroll as scrolling inside the overlay will scroll the background. If the open layer has scroll you can scroll the layer itself, but it is possible to scroll the background as well if you move your cursor to the background.
In the 3.11.0 patch notes it says "Fix a bug where overlays allowed scrolling of a background layer.", but we cant get it to work UNLESS we set our up-main target to be outside our body element. If we do that a class called
up-scrollbar-awayis added to the<body>-element and the background can not be scrolled. However we can't add up-main to be outside the<body>-tag.Can be reproduced using the demo e.g. https://demo.unpoly.com/projects. When the project list is long enough it will have scroll and it is still scrollable when opening the "New project"-layer.
Any suggestions? 🙏
Beta Was this translation helpful? Give feedback.
All reactions