`onConnectEnd` getting triggered twice
See original GitHub issueDescribe the Bug
Instead of taking an edge out of an handle if we just click on a handle then the onConnectStart
and onConnectEnd
callbacks get triggered more than once
Your Example Website or App
https://codesandbox.io/s/sandpack-project-forked-bgb4z0?file=/App.js
Steps to Reproduce the Bug or Issue
- Click on a handle of node
- Do not take out an edge out of the handle
- The callbacks will get triggered more than once
Expected behavior
The callbacks should get executed only once as it was in the earlier version of React Flow.
Screenshots or Videos
Platform
- OS: macOS
- Browser: Chrome
- Version: 99.0
Additional context
No response
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Triggered twice - When an event is added, updated
Hi, When an event is created (via OWA) in a calendar, the "When an event is added, updated or deleted (V3)" event is...
Read more >Why is an event triggered twice when I am creating a link ...
The ConnectionsChangeComplete get called twice. Question here is why? I need to be able to capture the act that two nodes were connected...
Read more >Events triggered twice #525 - jackmoore/colorbox - GitHub
Any event raised by colorbox eventually gets fired twice (even if you are binding to document). After some research, I found that it...
Read more >Why is the onClick event triggered twice? - Stack Overflow
It is calling twice because button is inside a span and span has onclick="alert('Boem')" , hence when you trigger click on button then...
Read more >Email Notification is triggering twice. - ServiceNow Community
Hello, I created a notification called 'Request Canceled' when the conditions are met request 'opened by user' is receiving two emails.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I added
onClickConnectStart
,onClickConnectEnd
andonClickConnectStop
for the upcoming release.released in v10.3.0