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

Using deprecated mousewheel event #59

Open
Joncom opened this issue Aug 25, 2019 · 1 comment
Open

Using deprecated mousewheel event #59

Joncom opened this issue Aug 25, 2019 · 1 comment

Comments

@Joncom
Copy link
Collaborator

Joncom commented Aug 25, 2019

The engine uses: https://developer.mozilla.org/en-US/docs/Web/API/Element/mousewheel_event

var delta = event.wheelDelta ? event.wheelDelta : (event.detail * -1);

var delta = event.wheelDelta ? event.wheelDelta : (event.detail * -1);

which is apparently deprecated

This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible

and non-standard

This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

@Joncom
Copy link
Collaborator Author

Joncom commented Jul 9, 2020

Weltmeister "touch scrolling" is currently broken in Firefox due to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant