Modal property still working after the parent frame is hidden

As the title says, when a frame is hidden (visible = false), any TextButton under it with modal property turned on will still unlock the mouse after the frame is hidden.

My current setup:


(the underlined button has the modal property turned on)
(The frame that is hidden/visible is MenuFrame, disabling the ScreenGui instead of hiding the frame works fine)

  • note that there’s many frames + a scrolling frame, this could be the issue

Expected behavior

The mouse to be locked in first person, after the frame is hidden

2 Likes

Hi, we duplicated your setup and found that the bug only occurs when a scrolling frame is present. Because of this, we believe this is a duplicate of this issue: link.