Skip to main content

Bug Tracker

Side navigation

#14030 closed bug (duplicate)

Opened June 16, 2013 06:50PM UTC

Closed June 24, 2013 04:29PM UTC

input $(this).is(':focus') return false on focus event (chrome)

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.1
Keywords: Cc:
Blocked by: Blocking:

Browser: Google Chrome 27.0.1453.110 m (Works in Firefox 21.0)


Expected result: Console logs true on focus

\\\\Real result: Console logs false on focus

\\\\(Sometimes false, false, true the first time and false afterwards)

Changing the jQuery version to 1.9.1 fixes the problem. 1.10.0 doesn't work either.

Attachments (0)
Change History (3)

Changed June 16, 2013 06:54PM UTC by anonymous comment:1


\\\\#10569 (The same thing happened 20 months ago)


Changed June 23, 2013 03:54PM UTC by dmethvin comment:2

I think it may be related to this WebKit bug:

We had a workaround at one point using document.activeElement but that was causing issues in IE.

Changed June 24, 2013 04:29PM UTC by timmywil comment:3

resolution: → duplicate
status: newclosed

Duplicate of #13794.This is a known bug, but as Dave said, the workaround required accessing activeElement more often, which crashed in IE in certain situations. Closing as duplicate of #13794. We'll track it there.