Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#9520 closed bug (fixed)

Draggable: Browser window drops behind other windows in IE9/10

Reported by: johnnyshields Owned by: tj.vantoll
Priority: minor Milestone: git
Component: ui.draggable Version: git (not yet released)
Keywords: Cc:
Blocked by: Blocking:

Description

This ticket is related to git (upcoming 1.11.0). It does not happen on 1.10.3:

Open any app window (e.g. Notepad), then open an IE9 browser window on top of it. Try clicking on a draggable jQuery-UI element. The IE9 window will drop to the background and the Notepad window will appear on top.

Change History (8)

comment:1 Changed 10 years ago by johnnyshields

Line 85 is the problem:

$( document.activeElement ).blur();

Introduced in this recent commit:

https://github.com/jquery/jquery-ui/commit/fcd1cafac8afe3a947676ec018e844eeada5b9de

A similar issue occurred on jQuery Mobile FYI:

https://github.com/jquery/jquery-mobile/issues/2821

comment:2 Changed 10 years ago by tj.vantoll

Status: newopen
Summary: Draggable on IE9 causes browser window to drop behind other windowsDraggable: Browser window drops behind other windows in IE9/10

You beat me to it johnnyshields. Thanks for taking the time to contribute.

This is indeed bad. #9420 is related to this but for dialog.

jQuery Mobile's workaround does appear to be sane https://github.com/jquery/jquery-mobile/blob/master/js/jquery.mobile.navigation.js#L970.

comment:3 Changed 10 years ago by tj.vantoll

Owner: set to tj.vantoll
Status: openassigned

comment:4 Changed 10 years ago by mikesherov

Thanks for jumping on this TJ.

comment:6 Changed 10 years ago by TJ VanToll

Resolution: fixed
Status: assignedclosed

Draggable: Safe activeElement access from iFrames for IE9, prevent window focus changes in IE9+. Fixed #9520 - Draggable: Browser window drops behind other windows in IE9/10

Changeset: eae2c4b358af3ebfae258abfe77eeace48fcefcb

comment:7 Changed 10 years ago by tj.vantoll

Milestone: none1.11.0

comment:8 Changed 10 years ago by Scott González

Milestone: 1.11.0git
Note: See TracTickets for help on using tickets.