#10712 closed bug (fixed)
Triggering blur with live bind broken
Reported by: | Owned by: | dmethvin | |
---|---|---|---|
Priority: | high | Milestone: | 1.7.1 |
Component: | event | Version: | 1.7 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
clicking into box and blurring via browser alerts.
onload it doesn't alert (it should, and does if you switch version to 1.6.4)
Change History (4)
comment:1 Changed 12 years ago by
Component: | unfiled → event |
---|---|
Milestone: | None → 1.7.1 |
Owner: | set to dmethvin |
Priority: | undecided → high |
Status: | new → assigned |
comment:2 Changed 12 years ago by
Thanks for looking at it!
Focusing on it prior to running blur does indeed work. http://jsfiddle.net/GLjFg/
Also, trying to go through trigger('blur') does not work, whereas a custom event does. http://jsfiddle.net/yPY2G/
comment:3 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fix #10712. Deal with focus/blur morphing to focusin/focusout.
Changeset: 39f9b846e722600aece0a5428e38e9b12217395e
Note: See
TracTickets for help on using
tickets.
Ugh. This is because blur bubbles as focusout. The element isn't really focused (you're just trying to run the handlers) so the browser doesn't fire a blur or focusout event. It's a legit use case though.