iframe-resizer
iframe-resizer copied to clipboard
[ PopOver-Paper ] - Opening PopOver causes the page to scroll
Rendering any component that internally relies on Modal, causes the page to jump/scroll.
- [x] The issue is present in the latest release.
- [x] 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.