Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10557 closed bug (cantfix)

.focus() on text input not working as expected in Firefox

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:


When setting focus on a text input in Firefox, the input gets focus, but does not have cursor and does not respond to blur event. You will see in my fiddle that it does set focus when page loads, but not when run (which is how it is used in my case)


Tested and works in Chrome and IE


Change History (1)

comment:1 Changed 11 years ago by dmethvin

Resolution: cantfix
Status: newclosed

Test case without jQuery loaded, same behavior after clicking Run: http://jsfiddle.net/zMxtr/6/

I thought perhaps it was timing related but even using setTimeout after a long delay or explicitly blurring has no effect: http://jsfiddle.net/zMxtr/8/ http://jsfiddle.net/zMxtr/9/

This seems like a Firefox issue. They are on a fast-track development schedule now, so we rarely try to fix these issues through workarounds within jQuery. I would report the problem to them on Bugzilla.

Note: See TracTickets for help on using tickets.