sp-dev-fx-controls-react icon indicating copy to clipboard operation
sp-dev-fx-controls-react copied to clipboard

iFrame Panel Control causes page to scroll when it is closed

Open rmedrano2 opened this issue 1 year ago • 0 comments

Category

[ ] Enhancement

[X] Bug

[ ] Question

Version

Please specify what version of the library you are using: [ 3.18.1 ]

Expected / Desired Behavior / Question

When Closing the Panel in the iFrame Panel Control, I expect the page below to remain in place.

Observed Behavior

When closing the panel, the underlying SharePoint page will scroll almost to the top.

Steps to Reproduce

Navigate to a page that has scrollable content. Scroll to the bottom of the page, Open the panel. Wait for the iframe in the panel to render and then close the panel. The panel will close, and the page you were on will scroll almost to the top of the page.

rmedrano2 avatar Jun 05 '24 13:06 rmedrano2