Skip to main content

Search and Top Navigation

#9520 closed bug (fixed)

Opened August 27, 2013 06:50PM UTC

Closed August 28, 2013 03:35PM UTC

Last modified August 28, 2013 03:39PM UTC

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.

Attachments (0)
Change History (8)

Changed August 27, 2013 07:01PM UTC by johnnyshields comment:1

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

Changed August 27, 2013 07:07PM UTC by tj.vantoll comment:2

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.

Changed August 28, 2013 12:40PM UTC by tj.vantoll comment:3

owner: → tj.vantoll
status: openassigned

Changed August 28, 2013 12:48PM UTC by mikesherov comment:4

Thanks for jumping on this TJ.

Changed August 28, 2013 01:20PM UTC by tj.vantoll comment:5

Changed August 28, 2013 03:35PM UTC by TJ VanToll comment:6

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

Changed August 28, 2013 03:36PM UTC by tj.vantoll comment:7

milestone: none1.11.0

Changed August 28, 2013 03:39PM UTC by scottgonzalez comment:8

milestone: 1.11.0git