We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Node Tooltip bugged when empty

hi,

There is an issue that occasionally occurs when the user is hovering on a node which has a empty string('"") as content, it copy's the tooltip from the previous hovered node. I have added a zip with a gif inside it which shows this. 

I have forked your own stackblitz with modification to show this issue:

Reproduce steps yourself using the stackblitz below -> 
1. Hover from node1, node3 to node 2. 
2. If correctly the tooltip should be empty as always, but after a couple of mouse swiping/hovering node2 has the tooltip of the previous one.

 Repeat a couple of times and it appears

greetings,

Laurens

Angular 7+, TypeScript 3+ 

Attachment: bugtooltip_58ee823b.zip

3 Replies

RT Ramya Thirugnanam Syncfusion Team May 20, 2019 12:03 PM UTC

Hi Laurens, 
 
Please remove the constraints initialization from node defaults method and assign constraints individually.  Please find the sample to avoid displaying empty tooltip. 
 
 
Regards, 
Ramya T 



LA Laurens Albers May 20, 2019 12:29 PM UTC

hi,

Hiding is a great alternative/option. 
Implemented and works fine this way, thanks!

greetings,

Laurens


RT Ramya Thirugnanam Syncfusion Team May 21, 2019 04:24 AM UTC

Hi Laurens, 
 
Thanks for your update. 
 
Regards, 
Ramya T 


Loader.
Up arrow icon