ScrollingFrame scroll taking priority over (Image/Text)Buttons on Mobile

The issue is that the ScrollingFrames sometimes have a higher priority over Buttons, and from the bug report for our game it appears to happen in specific circumstances.


The issue is not game specific.
ScrollPriority.rbxl (64.2 KB)

Visual aid for the issue (from the game);

[System information unrelated, as it appears to happen on all mobile devices and Device Emulation on Studio]

Expected behavior

What should happen;

  • Player clicks on the TextButton on both ScrollFrames and the event fires in both.

A private message is associated with this bug report

5 Likes

Is the ScrollingFrame Active? Mobile acts differently compared to PC regarding this property. For example, on PC, GuiButtons and TextBoxes are clickable when inactive, unlike on mobile.

Nice FNF Song Selection UI, by the way.

2 Likes

The Active property had nothing to do with the issue, as shown in the .rbxl which pretty much shows what the issue is.

The workaround for it we are currently using right now, however, does involve setting ScrollingEnabled to false.

The workaround we are using to fix the issue
Frame.ScrollingEnabled=false; 
Frame:GetPropertyChangedSignal("GuiState"):Connect(function()
  Frame.ScrollingEnabled = (Frame.GuiState == Enum.GuiState.Press);
end);

I find it a bit weird too but I guess there is some possible understanding to this

I guess on mobile Roblox thinks that the player wants to swipe instead of press so they prioritise swipe. The Solution I found in your repro is changing the ZIndex (2) of the frame cause I think it no longer thinks that the player is swiping

But yea totally weird behaviour

Thanks for the report! We’ll follow up when we have an update for you.

2 Likes