I have a Frame that contains a ScrollingFrame which contains a UIListLayout. The ScrollingFrame has AutomaticCanvasSize set to Y. If I apply a UIScale to the Frame and adjust the scale, the CanvasSize of the ScrollingFrame no longer matches the ContentSize of the UIListLayout.
Repro file:
ScrollingFrameCanvasSizeBug.rbxl (66.3 KB)
Expected behavior
AutomaticCanvasSize should always match the ContentSize inside the ScrollingFrame regardless of any UIScales applied to the ScrollingFrame’s ancestors.
EDIT: This bug only happens when the Frames inside the ScrollingFrame are using Scale sizes ({1,0},{0.2,0}). If they are using Offset sizes eg ({1,0},{0,100}) everything does scale correctly.
EDIT 2: If the UIScale is applied on the ScrollingFrame directly, everything scales correctly even if the Frames inside the ScrollingFrame are using Scale sizes. It’s only when the UIScale is applied onto a parent frame that this bug happens