title: Is there any way to detect middle click in React JS?
body: <p>I am trying to find a way to detect middle click event in React JS but so far haven't succeeded in doing so.</p>
  
  <p>In Chrome React's Synthetic Click event does show the button clicked -></p>
  
  <pre><code>mouseClickEvent.button === 0 // Left
  
  mouseClickEvent.button === 1 // Middle but it does not execute the code at all
  
  mouseClickEvent.button === 2 // Right (There is also onContextMenu with event.preventDefault() )
  </code></pre>
  
  <p>Please share your views.</p>