Capturing grid item click event in react-grid-layout
<p>Is it possible to capture the grid item's click and cancel the drag event? I want to open a modal window when a grid item is clicked, but I can't figure out how to implement this. I'm capturing the click with <code>onClick</code>, but <code>stopPropagation</code> and <code>preventDefault</code> don't prevent the mousedown event that starts the dragging process.</p>