nyaruka / floweditor

Graphical flow editor for the TextIt platform.
Other
71 stars 40 forks source link

Dragging an arrow connected to ruleset, then back to same ruleset creates dialog #160

Closed nicpottier closed 6 years ago

nicpottier commented 6 years ago
  1. Connect an action to a ruleset
  2. Drag arrow from arrowhead off of ruleset away from ruleset so it detaches, then reconnect to ruleset
  3. You get a dialog for an action set

Expected: reconnects to ruleset

This seems to do the same thing for ruleset->actionset, seems to always happen if just dragging back to the node it came from really.

ericnewcomer commented 6 years ago

Definitely have noticed this bug too. We had this same bug in the old editor at one point too. If memory serves, this is due to which connection event we are hooking into on the jsplumb side. I believe there's one that doesn't fire in this case that we should be using.