This is a migrated thread and some comments may be shown as answers.

Set hide delay on tooltip when hovering over another element with a tooltip

2 Answers 442 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Veteran
Matthew asked on 12 Mar 2021, 05:13 AM

I have a RadToolTipManager in place and logic to create tooltips on certain elements.

When hovering over an element and its tooltip is visible, when I then hover over another element that contains its own tooltip, I want the current tooltip to hide after a certain amount of ms instead of hiding immediately. After which, the element I'm hovering on will show its tooltip.

Almost like a delay between hiding the current tooltip and showing a new tooltip from a element being hovered on.

I used .set_hideDelay(1000) on each of these tooltips, but that seems to be when the cursor is idle for that long.

Is there an implementation for what I describe?

2 Answers, 1 is accepted

Sort by
0
Matthew
Top achievements
Rank 1
Veteran
answered on 12 Mar 2021, 01:17 PM

The behavior I want is actually present when a tooltip's hideEvent is set to ManualClose.

On my end, there is a delay in hiding the current tooltip, and showing the new one when hovering over another element. Additionally, the current tooltip remains open when you hover back to it.

Not quite there however, since I would like auto-closing when leaving the target and tooltip.

0
Vessy
Telerik team
answered on 16 Mar 2021, 06:44 PM

Hi Matthew,

Only a single tooltip can be visible at any given time. This behavior is by design and will not be changed as changing it would defy the purpose of the control. When a next element is being hovered, the new tooltip is replacing the previous one, thus it is hidden immediately.

Regards,
Vessy
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
ToolTip
Asked by
Matthew
Top achievements
Rank 1
Veteran
Answers by
Matthew
Top achievements
Rank 1
Veteran
Vessy
Telerik team
Share this question
or