Scrolling Frame not updating unless its properties are indexed or selected in explorer

I have a pre-made scrolling frame (visible is false initially), and I populate it with contents, such as frames, buttons etc. I make use of the automatic canvas size.
When I playtest and make it visible via code and a button press, it consistently shows a blank scrolling frame, or a few pixels, and does not update to show my contents at all. I must then either index the scrolling frame directly via the command line, such as printing the CanvasSize, or going to the Explorer and selecting the scrollingframe itself. Only then will it update to show the contents inside.
This bug happens in multiple of my games.

System Information:
AMD Ryzen 9 5900X 12-Core Processor
48GB DDR4 Ram
NVIDIA GeForce RTX 3060


An example of the bug occuring.

Expected behavior

I expect it to update as contents are added, and not have to worry about workarounds or hacky ways to make this work.

4 Likes

Thanks for the report! We’ll investigate and follow up with updates.

1 Like

Hi - do you by chance have the UIListLayout Flex beta enabled?

1 Like

Yes I do, but this issue has long persisted before UIFlex was a thing, or available in beta.

OK thanks for checking!

Would you be able to provide a minimal repro place or repro steps? You can send them in a DM if you prefer.