jquerytools/jquerytools — Issue #688: Tooltip will not show if you hover in and out fast enough with animated effect.
Author: roasm
Created: 2012-03-05 18:36:54+00:00
State: open

You can reproduce this on the demo on the site itself.

http://flowplayer.org/tools/demos/tooltip/any-html.html

Steps to reproduce:
1. Start with the cursor off the trigger element and the tooltip hidden.
2. Quickly move the cursor over the trigger, then off, then on again.
3. The tooltip will not be showing even though the cursor is over the trigger.

I believe the problem is that Tooltip's `show()` checks `isShown()` and on the second time through, it believes the tooltip is already showing. In fact, the tooltip is being hidden by the animation.

I think this could be fixed by either checking `isShown(true)` in `show()` or by moving `shown = false` in the "done" function passed to the `hide` function instead of before the `hide` function.