Closed kiddailey closed 13 years ago
Fixed in the latest commit, thanks kiddailey!
Dd some testing with this on my jsFiddle above and my dev site and it seems that it is fixed for the first display of the tooltip. However, once the tip has been rendered, the hover intent behavior is again broken.
Would you like me to create a new issue for this since this one is closed (I can't seem to reopen it)?
The problem here is that hoverIntent works by using your hide events... rather than the opposite of the events you use in your show.event. Perhaps it would be more logical to use the opposite events e.g. mouseenter/leave hmmm...
Bumping this again since I'm still seeing the issue and I had almost forgotten about this :)
Ok hopefully the last commit fixed it. Changed the fix to make sure mouseleave is used for hoverIntent if it isn't present and mouseenter/over is used for show.event.
Definitely seems to have done the trick. Tested with a variety of hover-intent tooltips and all appears good. Thanks!
If you specify 'unfocus' for the hide event, the hoverintent behavior of show.delay is broken and the tooltip displays even if the user has hovered out of the trigger before the time has passed:
http://jsfiddle.net/kiddailey/LjKhW/