Planned
Last Updated: 31 Dec 2021 10:09 by ADMIN
Jay
Created on: 31 Dec 2021 09:59
Category: Tooltip
Type: Bug Report
0
Leaving the cursor from the target element after hovering the popup does not hide it

Dojo: https://dojo.telerik.com/@jay/AhUYayEx

1. Hover over a color - tooltip shows up;

2. Hover over the tooltip;

3. Move the cursor back to the same target;

4. Move the cursor to a different color or any mouseout;

Actual: Tooltip is not closed

Expected: Tooltip to be closed (same as when not performing step 2)

1 comment
ADMIN
Ianko
Posted on: 31 Dec 2021 10:05

Hi Jay,

Thank you for the bug report. You can use the code patch from this dojo to resolve the case for the time being. 

Code patch:

var originalMsLeave = kendo.ui.Tooltip.fn._mouseleave;
kendo.ui.Tooltip.fn._mouseleave = function (e) {
  if (this.popup && this.popup._hovered) {
      this.popup._hovered = false;
  }
  
  originalMsLeave.call(this, e);
}; 

Regards,
Ianko
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/.