react-tap-event-plugin ghost click issue
<p>I am using Material UI and the react-tap-event-plugin to try and get rid of the 300ms delay on mobile devices.</p>

<p>I tried to replace all my onClick functions with onTouchTap. Desktop this works fine but on a device i get the ghost click. Every touchTap event is followed by it's click.</p>

<p>I followed the advice to prevent the click from happening..</p>

<pre><code>injectTapEventPlugin({
  shouldRejectClick: function (lastTouchEventTimestamp, clickEventTimestamp) {
    return true;
  }
});
</code></pre>

<p>This causes my desktop clicks to stop functioning, which is to be expected and i can fix that with some device detection in the shouldRejectClick function. </p>

<p>However, i am still getting the ghost clicks on my device.</p>

<p>Has anyone come across a similar issue and resolved it? I've read everything i can find, and tried the react-fastclick plugin (<a href="https://github.com/JakeSidSmith/react-fastclick" rel="nofollow">https://github.com/JakeSidSmith/react-fastclick</a>) which didn't work with React at all.</p>