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
Note that this is because we disable scrolling when the drawer is opened, so if there's a scrollbar, it is removed from the view and the viewport will resize.
I did not have time yet to come up with a solution. Wanted to spike on locking the body scroll position from script rather than CSS to leave the Scrollbar enabled while showing the overlay. Is it worth to create a PR with that solution?
One option is to make the disable-scrolling feature optional, which would keep the scrollbar when the drawer is opened. However, being able to scroll the content below would not be a good UX.
Description
Content size changes when opening the drawer on Windows.
Expected outcome
The window content size does not change when activating the drawer.
Actual outcome
The scroll-bar disappears when activating the drawer which causes an update of
document.body.clientWidth
.Demo
This example shows the effect on a Windows 10 with Chrome 54.0.2840.71
Steps to reproduce
Browsers Affected
Tested on Windows 10
The text was updated successfully, but these errors were encountered: