naver / egjs-axes

A module used to change the information of user action entered by various input devices such as touch screen or mouse into the logical virtual coordinates.
https://naver.github.io/egjs-axes/
MIT License
179 stars 32 forks source link

fix: set passive to false at window.addEventListener #186

Closed malangfox closed 2 years ago

malangfox commented 2 years ago

Details

Since the behavior of the passive property of window.addEventListener is different depending on the browser and version, now we always set it to false. This fix resolves issue #677 from Flicking component that uses Axes.