This project is archived and is in readonly mode.

#1246 ✓invalid

Tips.js : timer not cleared if element detached or removed

Reported by Xandros | June 16th, 2011 @ 02:50 PM

In the case that a Tips instance is attached to some element which is removed from the DOM, if the removal occurs when the mouse is over the removed attached element, a tip is still displayed after the element is removed.

This can cause other issues later on in IE when trying to retrieve offsets of the element which is not there any more and calling getBoundingClientRect.

A fix would be that when Tips.hide is called, or Tips.detach is called and the element which timer is running is contained in the detached elements, the timer should be cleared.

Thanks !

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins