#6514 closed bug (fixed)
Mouseenter and mouseleave events not able to be triggered if bound by live
Reported by: | brianloveswords | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.6 |
Component: | event | Version: | 1.4.2 |
Keywords: | mouseenter, mouseleave, live, trigger | Cc: | |
Blocked by: | Blocking: |
Description
If mouseenter and mouseleave are bound by live, $.trigger() will not activate them. However if they are bound by $.bind(), they are triggerable.
I've attached a patch including QUnit tests to prove existence, and the fix. You can see the commit here: http://github.com/brianlovesdata/jquery/commit/5f816ffca67e7fdcedcff580d19c4a7d7994c48a
Attachments (1)
Change History (9)
Changed 13 years ago by
Attachment: | live-event-trigger-fix.patch added |
---|
comment:1 Changed 13 years ago by
I experienced the same issue. Thanks for the patch, hope it gets in 1.4.3
comment:5 Changed 12 years ago by
Milestone: | → 1.6 |
---|
comment:6 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | open → closed |
Fix live mouseenter and mouseleave binding so they can be activated by triggers. Fixes #6514.
Changeset: d46042e0500fb8241bf5ba012dfc779b535aa5fe
comment:7 Changed 12 years ago by
Fix live mouseenter and mouseleave binding so they can be activated by triggers. Fixes #6514.
Changeset: 3cb9c1835c0382163b2e94ae626a7ae0d2d0d94f
QUnit test and fix for mouseenter and mouseleave not being triggerable when bound by live.