vdw / Tabslet

Yet another jQuery plugin for tabs, lightweight, easy to use, mobile-friendly and with some extra features.
http://vdw.github.io/Tabslet/
Apache License 2.0
564 stars 110 forks source link

autorotate timer messed up after pauseonhover #18

Closed malnosna closed 9 years ago

malnosna commented 9 years ago

With auto-rotation, when you mouseover a tab (or main banner area), the rotation pauses, and when you mouseleave (move the mouse away), the rotation unpauses and continues after 1 second.

However, if you keep doing this mouseover and mouseleave over the tabs (or main banner area) continuously and rapidly, the timer will all be messed up and the rotation will no longer follow the set "delay", but rotate at a random time.

vdw commented 9 years ago

Hi, the issue with the timer has been fixed at version 1.4.5, thanks.

malnosna commented 9 years ago

Hi, Thanks for the fix. However, I found that the problem still persists if I do the rapid mouseover/mouseleave BEFORE the first rotation happens. It can be replicated more easily if you set a higher delay. It seems to happen only when pauseonhover is true. In addition, pauseonhover also doesn't work on the first rotation.

vdw commented 9 years ago

Fixed at version 1.4.6. ;-)

malnosna commented 9 years ago

The timer issue is fixed, but pauseonhover still doesn't work on the very first rotation - hover on the very first slide/tab before it rotates to the second one. Only happens once after initialization.

vdw commented 9 years ago

At version 1.4.7 the rotation stops on the first tab.