phoboslab / Impact

HTML5 Game Engine
MIT License
2k stars 201 forks source link

Using deprecated mousewheel event #59

Open Joncom opened 5 years ago

Joncom commented 5 years ago

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

https://github.com/phoboslab/Impact/blob/301f54427a769f7c0c9b7990c960a554928bea6a/lib/impact/input.js#L160

https://github.com/phoboslab/Impact/blob/301f54427a769f7c0c9b7990c960a554928bea6a/lib/weltmeister/evented-input.js#L58

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 commented 4 years ago

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