Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make touch events passive like mouse events (#4279)
* Make touch events passive like mouse events Prevent console messages like: [Violation] Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 See also: https://github.com/playcanvas/engine/blob/9a0697c6b2cd521db510df49f90028f414006696/src/input/element-input.js#L421-L426 * Update touch-device.js Co-authored-by: Will Eastcott <will@playcanvas.com>
- Loading branch information