You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System:
OS: Windows 10 10.0.19045
CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
Memory: 884.71 MB / 15.25 GB
Browsers:
Edge: Chromium (123.0.2420.97)
Internet Explorer: 11.0.19041.3636
Are you reporting Accessibility issue?
None
Reproduction
Overlay Drawer Component Does Not Restore Scroll Position When Closed
Bug Description
Issue Description:
The overlay drawer component in the React library does not restore the scroll position of the page when closed. This issue can lead to users being stuck in a scrolled position, causing inconvenience and a poor user experience.
Open the overlay drawer by interacting with the relevant UI element.
Close the overlay drawer by clicking on the close button or any other interaction method.
Notice that the page doesn't scroll anymore.
Expected Behaviour:
After closing the overlay drawer, the page should automatically restore to its scroll behaviour before the drawer was opened.
Actual Behaviour:
The page's scroll position does not revert to its original state upon closing the overlay drawer. Users may remain stuck in the page, need a refresh to restore the scroll bar.
Logs
No response
Requested priority
Blocking
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
The provided reproduction is a minimal reproducible example of the bug.
The text was updated successfully, but these errors were encountered:
Library
React Components / v9 (@fluentui/react-components)
System Info
Are you reporting Accessibility issue?
None
Reproduction
Overlay Drawer Component Does Not Restore Scroll Position When Closed
Bug Description
Issue Description:
The overlay drawer component in the React library does not restore the scroll position of the page when closed. This issue can lead to users being stuck in a scrolled position, causing inconvenience and a poor user experience.
Steps to Reproduce:
Expected Behaviour:
After closing the overlay drawer, the page should automatically restore to its scroll behaviour before the drawer was opened.
Actual Behaviour:
The page's scroll position does not revert to its original state upon closing the overlay drawer. Users may remain stuck in the page, need a refresh to restore the scroll bar.
Logs
No response
Requested priority
Blocking
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
The text was updated successfully, but these errors were encountered: