I found a good example of how to show adornment buttons for the node.
In my case, we want to show actions when a node is hovered. The only issue I’m currently facing is that the adornment gets hidden as soon as the cursor leaves the node, which makes it impossible to click on the actions within it. I could use a setTimeout to delay hiding it, but that wouldn’t provide a smooth user experience.
Probably there is a better solution that I’m missing?
The only issue I see with this sample is that when I hover over a node and then move the cursor away without hovering over the adornment, the adornment remains visible until I hover over another node.
Is there a way to hide adornment when node loses the focus?