Reputation: 2257
How to handle the dblclick event in React? The docs lists onDoubleClick. However the following code does not fire any events when double clicking on the img.
<img src="blub.jpg" onDoubleClick={ () => console.log('Im not fired') } />
Upvotes: 2
Views: 2132
Reputation: 51
some how onDoubleClick works when your browser dev tool is closed
Upvotes: 2