react-flow-chart icon indicating copy to clipboard operation
react-flow-chart copied to clipboard

Right click causes canvas to stick to mouse (Google Chrome v83)

Open eprice122 opened this issue 5 years ago • 1 comments

Reproduce with any storybook using Chrome. Right click on the canvas, click out of the right click menu and the canvas will stick to the mouse. Bug present in Chrome v83 but not in Firefox 77.

eprice122 avatar Jul 07 '20 00:07 eprice122

For now, you can turn off the right click. componentDidMount() { document.addEventListener('contextmenu', (e)=>e.preventDefault()); }

basyusuf avatar Jul 10 '20 08:07 basyusuf