Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Side scrolling slow on firefox #117

Closed
cmdcolin opened this issue Feb 1, 2019 · 1 comment
Closed

Side scrolling slow on firefox #117

cmdcolin opened this issue Feb 1, 2019 · 1 comment
Labels
bug Something isn't working needs review needs verification and/or more specifics

Comments

@cmdcolin
Copy link
Collaborator

cmdcolin commented Feb 1, 2019

For either performance or just different event processing reasons, my touchpad side scroll is not nearly as fast on firefox as it is on chrome

@rbuels rbuels added needs review needs verification and/or more specifics bug Something isn't working labels May 8, 2019
@cmdcolin
Copy link
Collaborator Author

cmdcolin commented Aug 1, 2019

The deltaMode==1 slowed it down a lot on firefox, I adopted a method similar to https://github.com/basilfx/normalize-wheel/blob/master/src/normalizeWheel.js which just multiplies the delta value by a "line height"

Refs
https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent/deltaMode
w3c/uievents#181

d015048

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs review needs verification and/or more specifics
Projects
None yet
Development

No branches or pull requests

2 participants