BUG DESCRIPTION:
Scrolling frame’s canvas size is based off it’s parent, instead of scrolling frame itself
REPRODUCTION STEPS:
- Make ScreenGui, add Frame inside it, which will cover 0.75 of Y axis of screen. X make so you wiwll just see anything on frame.
- Insert ScrollingFrame into Frame you created. Set it’s Scale to Udim2.fromScale(0.5, 0.5)
- Set CanvasSize to uDim2.fromScale(1,1)
- Look at actual canvasSize:
EXPECTED BEHAVIOR:
CanvasSIze should be based off ScrollingFrame itself, and not off it’s parent.
ACTUAL BEHAVIOR:
CanvasSize bases it’s size off ScrollingFrame Parent object.
WORKARAUND:
Multiply CanvasSize by ScrollingFrame’s Size.
ISSUE AREA: Engine
ISSUE TYPE: Logic, Visual
IMPACT: High
FREQUENCY: Constant