pnp / sp-dev-fx-controls-react

Reusable React controls for SPFx solutions
https://pnp.github.io/sp-dev-fx-controls-react/
MIT License
380 stars 380 forks source link

iFrameDialog Control causes page to scroll to top automatically when dialog was closed #1831

Open user546 opened 3 weeks ago

user546 commented 3 weeks ago

Thank you for reporting an issue, suggesting an enhancement, or asking a question. We appreciate your feedback - to help the team understand your needs please complete the below template to ensure we have the details to help. Thanks!

I am trying to open Dialog (Model Popup) using IFrameDialog in Desktop mode when click on a button in SharePoint page and when I close the Dialog using close button on top or when doing light dismiss, page was scrolling automatically to top. I have customized list item using form customizer and extension and I am opening customized list item using IFrameDialog, Please help me in setting the screen in same place with out scrolling to top.

Category

[ ] Bug

Version

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

If you are not using the latest release, please update and see if the issue is resolved before submitting an issue.

Expected / Desired Behavior / Question

If you are reporting an issue please describe the expected behavior. If you are suggesting an enhancement please describe thoroughly the enhancement, how it can be achieved, and expected benefit. If you are asking a question, ask away!

Observed Behavior

If you are reporting an issue please describe the behavior you expected to occur when performing the action. If you are making a suggestion or asking a question delete this section.

Steps to Reproduce

If you are reporting an issue please describe the steps to reproduce the bug in sufficient detail to allow testing. If you are making a suggestion or asking a question delete this section.

Submission Guidelines

Delete this section after reading

Thanks!

github-actions[bot] commented 3 weeks ago

Thank you for submitting your first issue to this project.