pukhalski / tap

1Kb library for easy unified handling of user interactions such as mouse, touch and pointer events.
https://github.com/pukhalski/tap/archive/master.zip
MIT License
527 stars 45 forks source link

Uncaught error multitouch gestures in iOS Safari #53

Open aivarsak opened 8 years ago

aivarsak commented 8 years ago

On multitouch gestures uncaught error is thrown. TypeError: undefined is not an object (evaluating 'i.offset'). 30% of all uncaught errors in our app is due to coords.offset.

It seems like solution suggested by @r00ger for different problem may work as fix here https://github.com/pukhalski/tap/issues/45

Thanks

pablobirukov commented 8 years ago

@aivarsak I can't reproduce error with multitouch on iOS 9.2.

My fix definitely helps to avoid the error but it may cause other problems. So if you will be able to reproduce issue and provide scenario it will be an argument

pablobirukov commented 8 years ago

Issue reproduced. Multitouch triggers series of touchstart/touchend and error occurs. Will investigate