Describe the bug
When the popover is used on a section below the fold and the focusTrap is set to true, on open the page scroll is removed (I think) which causes the page to go all the way to the top. As a result, the popover
Affected project(s) (e.g. pcln-design-system, pcln-modal, etc.)
To Reproduce
Steps to reproduce the behavior:
- Go to the Popover storybook and add a story with the popover trigger placed below the fold
- Make sure that
trapFocus is set to true
- Click on the trigger link to open the popover
- You should see page scrolled to the top and the popover content out of view
Expected behavior
When using the focus trap we should see focus delegation limited to the content inside the popover, however this should not come at the expense of removing the page scroll.
Screenshots


After clicking on the popover trigger, the page is scrolled to the top and the Popover content is not visible

The popover content can then be found by scrolling to the position