tap icon indicating copy to clipboard operation
tap copied to clipboard

Uncaught error multitouch gestures in iOS Safari

Open aivarsak opened this issue 9 years ago • 2 comments

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

aivarsak avatar Feb 17 '16 08:02 aivarsak

@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 avatar Feb 17 '16 09:02 pablobirukov

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

pablobirukov avatar Feb 17 '16 10:02 pablobirukov