Scrolling insets causing ScrollingFrame problems

Reproduction Steps

When setting the HorizontalScrollBarInset property to “ScrollBar” while using UIAspectRatioConstraints, there is a chance that your resolution could be the exact size to where you barely need a scrollbar, but when the inset is applied and it slightly shrinks the UIs you will no longer need a scrollbar. This will cause the scrollbar and inset to go away, which will then again cause you to need a scrollbar & it will continue going back and forth every frame.

Expected Behavior
This could potentially be a complicated fix, since you technically no longer need the scrollbar, but the engine needs to choose whether or not to display a scrollbar to prevent this “glitching”.

Actual Behavior
The ScrollingFrame glitches back and forth between having a scrollbar and not having a scrollbar.

Workaround
The current workaround is to either set the HorizontalScrollBarInset to either “Always” or “Never”.

Issue Area: Engine
Issue Type: Display
Impact: Low
Frequency: Rarely
Date First Experienced: 2021-10-01 00:10:00 (-04:00)
Date Last Experienced: 2022-02-22 00:02:00 (-05:00)

3 Likes

Can vouch this is happening on my MSI pulse gl66
Here are my display settings/res:

Thanks for the report! We’ll follow up when we have an update for you!

1 Like