cubiq / iscroll

Smooth scrolling for the web
http://iscrolljs.com
MIT License
12.87k stars 3.8k forks source link

JavaScript - iScroll - mousedown not triggering #1117

Closed klemenoslaj closed 7 years ago

klemenoslaj commented 7 years ago

We are using iScroll in our project, and some elements in it's scroll area have mousedown event attached.

On newest build of Google Chrome(55.0.2883.95 (64-bit)) mousedown event is never triggered and the reason is pointerdown event registered by IScroll.

Is there any way around it? I could of course use pointerdown instead of mousedown, but it is not supported in Safari, therefore I would need some dirty browser check.

https://jsfiddle.net/dck8med7/1/

klemenoslaj commented 7 years ago

Looks like duplicate: https://github.com/cubiq/iscroll/issues/1100