Closed Zanisimo closed 8 years ago
Same here. Doesn't work on iOS9 and suggested solution solves the problem.
I have same problem and my fix: https://github.com/pukhalski/tap/pull/44
Just a heads up that fix #44 indeed works (tested with ios 9.0.2, iPhone 5 and iPad 3)
Fixed in #44. Thanks, guys!
Hey, I just realized the fix is not in the distribution package. Could you rebuild and publish to npm? Thank you :)
@ezhlobo
In iOS9 window.propertyIsEnumerable('ontouchstart') and document.hasOwnProperty('ontouchstart') both return false and there are no event listeners added because of this. Issue is tested on iPhone6 and iPad air 2 with iOS9
In my implementation I changed test in eventMatrix to ('ontouchstart' in window || 'ontouchstart' in document), but I only support Andriod and iOS devices. I am not sure if this fix would work.
Please advise on better solution if it is needed.