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

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

Open AzadRazvi opened this issue 1 year ago • 1 comments

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

  • All suggestions, questions and issues are welcome, please let us know what's on your mind.
  • Remember to include sufficient details and context.
  • If you have multiple suggestions, questions, or bugs please submit them in separate issues so we can track resolution.

Thanks!

AzadRazvi avatar Jun 09 '24 15:06 AzadRazvi

Thank you for submitting your first issue to this project.

github-actions[bot] avatar Jun 09 '24 15:06 github-actions[bot]

Hi @AzadRazvi,

I tried on my side to use the IFrameDialog in a webpart, from a site page and I can't repro the issue you raised.

Did you try with latest version (3.20.0)?

If you can repro, I would like to get more info (code snippet, what's in the page, is it something that you can repro on remote workbench,...).

michaelmaillot avatar Jan 24 '25 16:01 michaelmaillot

Closing this, feel free to reopen it if needed.

michaelmaillot avatar Mar 23 '25 18:03 michaelmaillot