Bug Tracker

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#11450 closed bug (cantfix)

focusin | focusout of input texts fire twice when window minimizes.

Reported by: limpakos@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

Description

Actually, when focus is moved to another window :S This is really simple to be a bug to be honest, but is that really what should be happening? While clicking and pointing in the same window, everything works great. But if an input has the focus and the window gets minimized and maximized, or i select another tab, and then get back to the initial document's tab, instead of one focusout and one focusin even {which is what I would expect}, two focusouts are fired, followed by two focusins. Is that what should be happening? I'm using chrome 17.0.963.66 m with jquery 1.7.1.

here's an example: http://jsfiddle.net/dSbpc/2/

sounds silly, so sorry if i'm just completely wrong, but I really can't understand why the events trigger two times.

Change History (3)

comment:1 Changed 8 years ago by limpakos@…

also, i'm saying that because this does not occur at my friend's mac chrome {i'm using vista}.

comment:2 Changed 8 years ago by dmethvin

Resolution: cantfix
Status: newclosed

Looks like a Chrome bug to me. Here it is in bare DOM with no jQuery:

http://jsfiddle.net/dSbpc/3/

Works as expected in FF10, but not in Chrome 17.

We don't have a way to work around this, you'll need to report it to Chrome.

comment:3 Changed 8 years ago by limpakos@…

okie thx a lot and sorry for not checking that first. I'll go ask the chrome dudes...

Note: See TracTickets for help on using tickets.