UIGridLayouts in Studio fail to reflect changes made by children, regardless of class. In the example provided, the bug is that UIGridLayouts do not immediately modify the aspect ratio of children according to the UIAspectRatioConstraint when it is put under UIGridLayout. In order to force the UIGridLayout to cause a change, the UIGridLayout must be parented elsewhere and parented back to where it was prior to reflect properly.
Steps to reproduce:
- Place the UIAspectRatioConstraint under the UIGridLayout
- Observe no change
- Move the UIGridLayout to somewhere other than the Frame it is under
- Move the UIGridLayout back under the Frame
- Observe the difference
- Move the UIAspectRatioConstraint out of the UIGridLayout
- Observe no change
ui-grid-layout-does-not-reflect-changes-in-children-dot-rbxl.rbxl (56.5 KB)
Expected behavior
When I put a child under a UIGridLayout, the UIGridLayout should immediately reflect the behavior of that child as it is allowed to affect the UIGridLayout’s siblings. In the example provided, this would mean the UIAspectRatioConstraint should immediately cause the children of the Frame under ScreenGui to become square.