We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I have code like:
hoverinit: function(){ this.delay(0) $("#someelement").show(); }. hoverenter: function(){ console.log("Called") }
where #someelement hides the to-be-hovered element, a mouseleave is immediately triggered before the hovered flag is set.
#someelement
hovered
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.
this.leave(2000)
The fix is to recognize this as a special case and always fire hoverenter and set hovered to true.
The text was updated successfully, but these errors were encountered:
9cfa703
daffl
No branches or pull requests
If I have code like:
where
#someelement
hides the to-be-hovered element, a mouseleave is immediately triggered before thehovered
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.The text was updated successfully, but these errors were encountered: