Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HoverInit delay 0 does not trigger hoverenter if immediately moused out #57

justinbmeyer opened this issue Oct 10, 2012 · 0 comments


Copy link

If I have code like:

hoverinit: function(){
hoverenter: function(){

where #someelement hides the to-be-hovered element, a mouseleave is immediately triggered before the hovered flag is set.

If the user is setting delay to 0, they most likely want to be using leave this.leave(2000) and want a hoverenter no matter what.

The fix is to recognize this as a special case and always fire hoverenter and set hovered to true.

@ghost ghost assigned daffl Oct 10, 2012
@daffl daffl closed this as completed in 9cfa703 Nov 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

2 participants