Adds the option to not raise the label when the node is hovered. This keeps the label on the same layer as the node which avoids getting a mouse leave event when moving from the node to the label. For applications that are raising the node to the TOP_LEVEL on hover, they should pass raiseLabelOnHover={false} to the DefaultNode.
Also, when the context menu is open, treat the node label the same as if hovering so that it remains visible and un-truncated while the context menu is open.
Type of change
[ ] Feature
[x] Bugfix
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
What
Closes #247
Description
Adds the option to not raise the label when the node is hovered. This keeps the label on the same layer as the node which avoids getting a mouse leave event when moving from the node to the label. For applications that are raising the node to the TOP_LEVEL on hover, they should pass
raiseLabelOnHover={false}
to theDefaultNode
.Also, when the context menu is open, treat the node label the same as if hovering so that it remains visible and un-truncated while the context menu is open.
Type of change
Screen shots / Gifs for design review