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

Mouse Deltas not Normalized by React #1

Open
hew opened this issue Apr 25, 2016 · 2 comments
Open

Mouse Deltas not Normalized by React #1

hew opened this issue Apr 25, 2016 · 2 comments

Comments

@hew
Copy link
Owner

hew commented Apr 25, 2016

I have encountered a situation where certain mice have vastly different mouse deltas on Firefox as compared with the rest of the browsers. Like, 10x difference.

This shouldn't happen, as in theory React's onWheel() should be normalizing all the deltas across browsers. That is what React advertises it does, but it seems that it is unable to handle certain edge cases.

@hew
Copy link
Owner Author

hew commented Apr 25, 2016

React's SyntheticWheelEvent.js

Hmmm. I don't think React actually normalizes these values at all.

I may have misread this to say, "React will handle all event normalizations for everything, ever."

@hew
Copy link
Owner Author

hew commented Apr 26, 2016

I have looked at a few other mouse wheel normalization scripts and they all seem to refer back to jquery.mousewheel.js as the most comprehensive option available.

@hew hew changed the title Some Firefox Mouse Deltas not Normalized by React Mouse Deltas not Normalized by React Apr 26, 2016
hew pushed a commit that referenced this issue May 15, 2017
updated project for react-motion back as dependency vs dev dependency…
hew pushed a commit that referenced this issue May 15, 2017
Merge pull request #1 from felix-digitalkarma/master
@hew hew mentioned this issue Jul 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant