How to Fix Long Blank Scroll Area After Submitting Embedded Microsoft Form
Question details
Users experience a large blank scrollable area after submitting a Microsoft Form embedded on a SharePoint page, forcing them to manually scroll up to view the success message.

- Product
- Microsoft Forms and SharePoint
- Device & OS
- not provided
- Scenario
- Submitting a lengthy Microsoft Form that has been embedded into a SharePoint page.
- Observed behavior
- After clicking submit, the embedded web part maintains the height of the original form. The user remains positioned at the bottom of this tall area, resulting in a large blank space, and must scroll to the top to see the submission confirmation.
Ensure you have Site Owner or Edit permissions for the SharePoint page where the form is embedded, and have the original Microsoft Form sharing link readily available.
Use the Native Microsoft Forms Web Part Instead of the Embed Code
Switching from the generic Embed web part to the native Microsoft Forms web part can resolve fixed-dimension layout issues on SharePoint pages.
The standard 'Embed' web part in SharePoint uses a fixed iframe height. When a long form is submitted and transitions to a short 'Thank You' message, the iframe does not dynamically resize. Using the dedicated Microsoft Forms web part often handles this state change more gracefully.
Navigate to your SharePoint page and click the 'Edit' button located in the top right corner of the screen.
Hover over the current form displaying the issue, click on the web part to select it, and click the 'Delete web part' (trash can) icon.
Click the '+' icon to add a new web part in your desired section, search for 'Microsoft Forms', and select it from the menu.
Click 'Add existing form', paste the URL of your Microsoft Form into the web address field, choose 'Collect responses', and click 'Republish' to save the page.

Adjust the iFrame Height in the Embed Code
If you must use the Embed web part, manually reducing the height parameter can minimize the blank space left after submission.
Use a Direct Link or Button Instead of Embedding
Bypass embedding limitations completely by redirecting users to the standalone Microsoft Forms page.
Looking for a Smoother Office Experience? Try WPS Office
If you frequently encounter formatting glitches or embedding limitations within the Microsoft ecosystem, consider switching to WPS Office. It provides a lightweight, highly compatible alternative for document creation, data collection, and spreadsheet management without the complex layout headaches.

Frequently Asked Questions
Why does the embedded Microsoft Form leave me at the bottom after submission?
The iframe or Embed web part maintains its original height based on the length of the questions. When the form converts to a short 'Success' message, the frame doesn't auto-resize, leaving your browser's viewport at the bottom of the original frame height.
Does this scroll issue happen on all web browsers?
Yes, this is generally a layout behavior of iframes in HTML and SharePoint's Embed web part, rather than a browser-specific bug. It typically occurs on Chrome, Edge, Safari, and Firefox alike.
Can I automatically scroll the user to the top of the page upon submission?
Unfortunately, SharePoint restricts custom JavaScript inside modern pages for security reasons, meaning you cannot easily inject a script to auto-scroll the page to the top when the form inside the iframe is submitted.




