react-flow-chart
react-flow-chart copied to clipboard
Right click causes canvas to stick to mouse (Google Chrome v83)
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.
For now, you can turn off the right click.
componentDidMount() { document.addEventListener('contextmenu', (e)=>e.preventDefault()); }