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:
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)
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.