Closed MetaCorp closed 2 weeks ago
I want to add a node when the user double click the page. I tried using onDoubleClick on ReactFlow component, but the function never gets called.
No response
When the user double click the Flow, the callback is called.
You have to set zoomOnDoubleClick={false} on the ReactFlow component for this to work.
zoomOnDoubleClick={false}
Describe the Bug
I want to add a node when the user double click the page. I tried using onDoubleClick on ReactFlow component, but the function never gets called.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Expected behavior
When the user double click the Flow, the callback is called.
Screenshots or Videos
No response
Platform
Additional context
No response