[ PopOver-Paper ] - Opening PopOver causes the page to scroll
guilhermeabell opened this issue · 0 comments
guilhermeabell commented
Rendering any component that internally relies on Modal, causes the page to jump/scroll.
- The issue is present in the latest release.
- I have searched the issues of this repository and believe that this is not a duplicate ([Popover] On mobile Chrome while zoomed, opening popover causes page to jump #17636 might be related though 🤔)
Current Behavior 😯
Rendering a component that is based on Modal (i.e. Popover) causes the page to scroll. This happens as long as:
- the scroll container has already scrolled
- the contents of the scroll container affect its total height
Expected Behavior 🤔
Scroll position should not change.