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

Removing the element being hovered prevents all future hoverenter #64

iamnoah opened this Issue Nov 30, 2012 · 0 comments


None yet
2 participants

iamnoah commented Nov 30, 2012

See Remove an element that is being hovered, and nothing will ever be hovered again.

An easy partial fix is to have the hover plugin bind to destroyed and mouseleave, although there is still some weird behavior if the element is detatch()ed, and if the element is not reattached, no hover events will trigger until it is.

iamnoah added a commit to SpredfastLegacy/jquerypp that referenced this issue Dec 5, 2012

Force hover leave on new mouseenter. Fixes #63 and #64.
If the mouse has entered a new element, this change forces the hoverleave event to fire on the previously hovered element, even if no mouseleave event fires.

The mouseleave event will not fire if the element is removed while hovered and possibly in other circumstances.

daffl added a commit that referenced this issue Feb 6, 2013

Merge pull request #65 from Spredfast/fix-hoverleave
Force hover leave on new mouseenter. Fixes #63 and #64.

@daffl daffl closed this Feb 6, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment