Skip to main content

Bug Tracker

Side navigation

#8004 closed bug (duplicate)

Opened January 18, 2011 09:55PM UTC

Closed January 19, 2011 02:02PM UTC

Last modified January 19, 2011 02:02PM UTC

focusout not triggered when focus()ing another input

Reported by: leeoniya@gmail.com Owned by:
Priority: undecided Milestone: 1.next
Component: unfiled Version: 1.4.3
Keywords: Cc:
Blocked by: Blocking:
Description

jquery 1.4.3+ has different (i believe broken) behavior for detecting focus() triggers and issuing focusout events. they do not appear to be triggered on the previously focused input at all when calling focus() on a new input.

when setting focus non-programatically it works okay i think.

discussion, observations, sample code and logs here:

https://forum.jquery.com/topic/v1-4-3-unexpected-focus-behavior

1.4.3+ in chrome the results are also different, the log shows not only duplicated events, but are inconsistent with FF results for the same version.

the only consistency and reasonable behavior i have found is in v1.4.2.

tested in FF3.6 stable FF4 nightly, chrome daily.

thanks,

Leon

Attachments (0)
Change History (2)

Changed January 19, 2011 02:02PM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

Changed January 19, 2011 02:02PM UTC by dmethvin comment:2

Duplicate of #7340.