Modal Activates Even When Button Isn't Actually Visible


As you can see in the video, the button is set to visible, but isn’t shown on screen due to it’s parents being invisible. Despite this, the Modal property still activates. When I set the button to not be visible, Modal is no longer active.
SpecificInventoryTest.rbxl (64.3 KB)
This is a reduced file with only the important components, but you can see the modal property is still acting weird.

Expected behavior

Modal should not go into effect if either the button is set to not be visible or one of it’s ancestors is set to not be visible; the same system used for actually displaying gui objects on screen.

A private message is associated with this bug report

1 Like