community-edition icon indicating copy to clipboard operation
community-edition copied to clipboard

detachEveryConnection seems to ignore fireEvent=false

Open AbelHeinsbroek opened this issue 9 years ago • 1 comments

When using the detachEveryConnection function the system seems to ignore the fireEvent flag and still fires beforeDetach events:

https://jsfiddle.net/em66944h/20/

AbelHeinsbroek avatar Apr 06 '17 14:04 AbelHeinsbroek

detachEveryConnection is now deleteEveryConnection but fireEvent flag is still being ignored.

ex.)

plumb.deleteEveryConnection($node, {
     fireEvent: false
});

As a workaround from implementation side, I just use a flag to ignore events when deleteEveryConnection operation happens.

viswesh avatar Aug 22 '18 21:08 viswesh