IE10 moves to background #7639

Closed
arschmitz opened this Issue Aug 22, 2014 · 0 comments

Projects

None yet

1 participant

@arschmitz
Member

if the body has focus and blur is called it will move the browser to the background.

We need to ensure the body is not the target before calling blur

@arschmitz arschmitz added this to the 1.4.4 milestone Aug 22, 2014
@arschmitz arschmitz self-assigned this Aug 22, 2014
@arschmitz arschmitz added a commit that closed this issue Aug 26, 2014
@TrueEddie @arschmitz TrueEddie + arschmitz Popup: do not call blur if the target is the body
In IE 10 (and possibly older versions of IE) when there is a single tab open
and a popup is displayed and there is another window on the same monitor,
calling target.blur() can cause the browser to go to the background because the
body element is the targetElement.  Ensuring the element is not the body element
before calling blur() fixes this issue.

Fixes gh-7639
Closes gh-7298
b14dd31
@arschmitz arschmitz closed this in b14dd31 Aug 26, 2014
@arschmitz arschmitz added a commit that referenced this issue Aug 26, 2014
@TrueEddie @arschmitz TrueEddie + arschmitz Popup: do not call blur if the target is the body
In IE 10 (and possibly older versions of IE) when there is a single tab open
and a popup is displayed and there is another window on the same monitor,
calling target.blur() can cause the browser to go to the background because the
body element is the targetElement.  Ensuring the element is not the body element
before calling blur() fixes this issue.

Fixes gh-7639
Closes gh-7298

(cherry picked from commit b14dd31)
5f06bd1
@agcolom agcolom added a commit to agcolom/jquery-mobile that referenced this issue Nov 26, 2014
@TrueEddie @agcolom TrueEddie + agcolom Popup: do not call blur if the target is the body
In IE 10 (and possibly older versions of IE) when there is a single tab open
and a popup is displayed and there is another window on the same monitor,
calling target.blur() can cause the browser to go to the background because the
body element is the targetElement.  Ensuring the element is not the body element
before calling blur() fixes this issue.

Fixes gh-7639
Closes gh-7298
526d521
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment