ScrollingFrames Smooth Scroll breaks on high velocity

As of a few days ago, ScrollingFrames in all games now switch to snap-based instead of smooth scrolling when I scroll too quickly.
This only happens in-game while studio works just fine

Expected behavior

Smooth Scrolling should be retained like how it was originally.

a Roblox Studio example as it doesn’t have the issue:

1 Like

What operating system are you on / what input device are you using?

I’m on Windows 11 and am using a basic office mouse

Could you put this code in a LocalScript in Studio under StarterPlayerScripts and give me the output of doing some scrolling (including the fast flicks)?

local UserInputService = game:GetService("UserInputService")
UserInputService.InputChanged:Connect(function(inputObject)
    if inputObject.UserInputType == Enum.UserInputType.MouseWheel then
        print(tick(), inputObject.Position.Z)
    end
end)

In-Studio

In-Game

Also a video of the issue happening in the console:

1 Like

Thanks for the testing.

Because of the -2/2 values my code is detecting it as a trackpad and disabling smooth scrolling. With a practical example of where my current detector breaks I can make a better one, I’ll fix this.

2 Likes