retejs / rete

JavaScript framework for visual programming
https://retejs.org
MIT License
10.17k stars 653 forks source link

Event to grab the rejected connection before Drop or click event is occured #414

Closed truedandyman0617 closed 1 year ago

truedandyman0617 commented 4 years ago

I tried to implement to show the custom node as a context menu when user pick a socket and try to drag&drop into touch area. But when user drop on any node or socket, and then click on touch area, then this custom node is shown because the click event is occurred after drop event. I know there is already connection-mastery plugin for this but I want to show the custom node as a context menu and show it without any hold key.

If you can provide an event to grab the rejected moment for connection before drop or click event is occurred when user drag&drop, then I can implement this feature.

Is there any idea with current version or do you have to develop a plugin for it? Thanks

rete-js[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.