madrobby / zepto

Zepto.js is a minimalist JavaScript library for modern browsers, with a jQuery-compatible API
http://zeptojs.com
Other
15k stars 3.93k forks source link

Zepto's 'tap' implementation interferes e.g. with Video.js #1337

Open emkayy opened 6 years ago

emkayy commented 6 years ago

Using Zepto touch on the same page as the popular Video.js video player (and most likely other custom touch implementations) cause a double invocation of the handlers bound to 'tap'. This way the play / pause toggle gets 'tapped' twice, resulting in the same state as before the user interaction (keeps playing or stays paused).

emkayy commented 6 years ago

@madrobby May this be related to #1301