Touch Events Broken with ReactJS Upgrade in Chrome Mobile Emulator
As Mathletics said, onTouchTap
is not available as an event. However, you can give this plugin a try to make things easier https://github.com/zilverline/react-tap-event-plugin
TouchTap
is no longer available as an event. Please read the docs on TouchEvents to select the appropriate event. You can bind:
onTouchCancel onTouchEnd onTouchMove onTouchStart
If you just want to capture a tap event use onClick. The events onTouchStart, onTouchEnd ect. are drag and drop events. For swipes you will need a third party library like react-hammerjs.