davidjbradshaw/iframe-resizer

[ PopOver-Paper ] - Opening PopOver causes the page to scroll

guilhermeabell opened this issue · 0 comments

Rendering any component that internally relies on Modal, causes the page to jump/scroll.

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.