ScrollingFrame incorrect CanvisSize

Was there an update to scrollingframes in the past 2 days? My menus seem to be squished now.

I create my buttons by checking how many buttons there are going to be. Changing the CanvasSize based off that, and the button size based on how many I want to show on a frame. Then parenting the button to a ScrollingFrame. For some reason now it makes it so the buttons are squished until you scroll on the ScrollingFrame.

https://gyazo.com/af20cd2f55cd1d833a31119268615c84

It just looks like the CanvisSize doesn’t change until you scroll now.

Edit: Also I’ve tried this in studio on Play mode, and it doesn’t have this problem. Only when your on a sever → client

1 Like

I can confirm this issue.

Attempting to scroll right after makes the objects inside the ScrollingFrame originate to their proper size and position.

looking into this now. do you have a simple repro case I can try out?

ScrollingFrame_CanvisSize.rbxmx (3.1 KB)

Made a quick repro. Noticed that if you change your window size it ends up fixing also.

thanks! I was able to repro and produce a pretty simple fix. Fix should go out a week from Tuesday.

6 Likes

Any idea when this will be fixed? Or know any alternate fixes I can do for now if it’s not soon.

So I have a fix for this in the pipeline, should go out next Tuesday night, although I’ll need to confirm and actually turn the fix on Wednesday.

In the mean time, if you resize the scrolling frame even by one pixel it should fix itself. Or if you scroll the frame by a pixel it will fix itself, as long as it happens after the children are parented.