-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Low PriorityNot very important, other things firstNot very important, other things firstbugSomething isn't workingSomething isn't working
Description
The scope of this includes the node source of context menu as well. This is causing weird behaviour, such as where when clicking a menu option like a regular user, you are also triggering the drag of a same or different node at the same time.
Because the NodeDrag functions are stored within the MindMapSimulation component, and not the Bubble one where everything else is, multiple onClick/ onMouseDown events are being triggered at the same time. And unlike the SelectNode function also within Bubble, this functionality cannot simply be disabled while the Context Menu is open due to the component separation.
Potential Solutions
- (Preferable) Refactor the NodeDrag functionality to be scoped to the
Bubblecomponent. - Create a uplinked handler from the child
Bubbleto the parentMindMapSimulationcomponent so thatMMSknows when any child has their context menu open.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Low PriorityNot very important, other things firstNot very important, other things firstbugSomething isn't workingSomething isn't working