ClueTip: mouseleave will not always fire on rapid mouse movement
Hello,
I am witnessing some weird behavior while using ClueTip 1.0.4 on JQuery 1.3.2. The original problem was that the tooltip sometimes would not close. This will happen occasionally if the mouse if moved rather fast. On slow movement, everything works fine.
The code uses an event named 'mouseleave.cluetip' the mouseleave event for detecting when it has to close. I have no idea what the .cluetip parts does, and this event is not triggered anywhere I'd have notived, but hey, it works.
For debugging, I registered additional listeners for 'mouseleave' and 'mouseout'. It seems that when the mouse moves fast, the mouseout event will fire, but not the mouseleave. The code does not swallow the event, as far as I can see.
This seems to happen when the mouseout event's clientx/clienty are located outside of the boundaries of the element owning the cluetip.
Any ideas what's going on or what I'm missing would be greatly appreciated.
Thanks in advance,
Thorsten