react-diagrams
react-diagrams copied to clipboard
"Parent" actions was ignored if one of them was transited
Steps to reproduce:
- Open
react-canvas-core/src/states/DefaultState.ts
(ordiagrams-demo-gallery/demos/demo-alternative-linking/DefaultState.ts
, for example) - Add
console.log
in fire function forMOUSE_DOWN
action - Register the action for
MOUSE_UP
with someconsole.log
- Try it.
Result: MOUSE_UP
doesn't call.
Is it bug or feature?)