Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

IE10 moves to background #7639

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

IE10 moves to background #7639

arschmitz opened this issue Aug 22, 2014 · 0 comments
Assignees
Milestone

Comments

@arschmitz
Copy link
Contributor

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 pushed a commit that referenced this issue Aug 26, 2014
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)
agcolom pushed a commit to agcolom/jquery-mobile that referenced this issue Nov 26, 2014
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 jquery-archivegh-7639
Closes jquery-archivegh-7298
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant