UIPageLayout : Add the ability to enable or disable mouse scrolling

As a Roblox developer, it is currently impossible to disable the default mouse behavior with UIPaygeLayouts.

Allow me to clarify.

In RS Minigames, I have a crate system where players can open crates to unlock items. To avoid the hassle of creating and implementing my own ‘wrapping scrolling frame’, I used the UIPageLayout to make panning through potential crate items easier.

This is great, but, with the current way UIPageLayouts work, they automatically scroll if the user moves their mouse wheel up/down while above it.

While this does not interfere with the outcome of my crate UI (the results are generated in the server beforehand), it is quite of an annoyance when I get bug reports from players, saying that they can ‘rig’ the crates by scrolling on the crate UI to get the item that they want (again, what they’re actually seeing when the crate UI stops is the crate UI landing on the item the server picked).

If the ability to enable / disable mouse scrolling on UIPageLayouts was added, my CrateUI would be a lot more intuitive than it is right now, since you can scroll through the items ultimately interfering with the panning animations.

Here’s a GIF of what I am talking about:
https://gyazo.com/7947a87199f37834af375b18ba90adfb

7 Likes

3 posts were merged into an existing topic: Option to disable UIPageLayout’s built-in mouse wheel response