-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
- 💥 Internet Explorer
- 💥 Microsoft Edge
- 💥 Google Chrome
- 💥 FireFox
- 💥 Safari
- mobile (iOS/iPadOS)
- mobile (Android)
- not applicable
- other (enter in the "Additional environment details" area below)
Additional environment details
- browser version latest
- SPFx version 1.16.1, 1.17.4, 1.18.0, 1.18.2
- Node.js version 16.19.1 and 18.18.0 (depending on SPFx version above)
Describe the bug / error
Since a recent SPO update, there is now a faint scrollbar that is present on all our full page apps, even across on multiple tenancies.
I wasn't sure were to post this bug report to be honest.
This is because there has been a change and the scrollable area which houses the SPFx web part has had its styles updated from "overflow-y: auto" to "overflow-y: scroll".
It has changed to "overflow-y: scroll" and has effectively made it so the scrollbar always appears regardless of content.
In many of our apps, we use absolute positioning and height calculations to animate the content the user is seeing. Now we are stuck with multiple scrollbars
Steps to reproduce
- Load up an SPFx webpart that supports the SharePointFullPage host;
- See faint inactive scrollbar to the right due to "overflow-y: scroll"
Expected behavior
I expect the scrollbar to appear when necessary (i.e. "overflow-y: auto") rather than it always appearing even when it is disabled.