UIListLayout miscalculating off-screen clipping bounds

In the attached repro file, I have a frame containing a UIListLayout, a ScrollingFrame, and a TextButton. It’s fine when it’s initially created, but as soon as anything the UIListLayout is looking at is updated (frame visibility, another element added, child name changed, etc) the button disappears. If I position the parent frame at Y=(1,-(sizeY+5)) or further down the screen the button remains visible, but as soon as the frame is moved to Y=(1,-(sizeY+6)) or further up, the button becomes visible. This may be an issue with off-screen clipping calculations.

Repro.rbxl (15.8 KB)

This happens 100% of the time and is reliably reproducible with the steps mentioned above if the GUI is tweaked in Play Solo.


I’ve reproduced it and I’ll look into fixing it.

1 Like

Is this bug still happening?

Yes. Cut+Paste the TextButton in Play Solo to observe that it is hidden after pasting back in.

I’ve created a fix for this bug, it will ship soon tm.

1 Like

This should be fixed now.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.