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: |
Description
Browser: Google Chrome 27.0.1453.110 m (Works in Firefox 21.0)
\\\\Code: http://jsbin.com/uworek/1/
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 comment:1
Changed June 23, 2013 03:54PM UTC by comment:2
I think it may be related to this WebKit bug: https://code.google.com/p/chromium/issues/detail?id=96385
We had a workaround at one point using document.activeElement
but that was causing issues in IE.
Related:
\\\\#10569 (The same thing happened 20 months ago)
\\\\#13794