Skip to main content

Search and Top Navigation

#4421 closed bug (fixed)

Opened April 01, 2009 10:27AM UTC

Closed January 31, 2013 02:22AM UTC

Last modified January 31, 2013 02:27AM UTC

Dialog: Focus lost from dialog which uses show-effect

Reported by: qabi@qabi.dk Owned by:
Priority: minor Milestone: 1.10.1
Component: ui.dialog Version: 1.7.1
Keywords: animation Cc:
Blocked by: Blocking:
Description

Hi,

When creating a dialog the first field is focused. When shown with an effect (like 'slide' or 'drop) the focus seems to be lost though (ends up on the root HTML element for some reason).

Can be worked around with a setTimeout(..) that is longer than the effect, but that's kind of nasty.

Attachments (0)
Change History (13)

Changed May 07, 2009 01:34PM UTC by jzaefferer comment:1

milestone: 1.7.21.8

Changed June 24, 2010 05:57PM UTC by ajcrews comment:2

Related tickets: #4675, #4731, #5767

Fixed: http://github.com/ajcrews/jquery-ui/commit/1d1de7fc70501c25c6ff3de204c04078602baa04

Dialog: If a show animation is provided, the post-show code dependent on the dialog being ready occur in a callback function passed to the show method. Fixed #4421, 4675 - Focus lost from dialog which uses show effect.

Changed June 24, 2010 06:49PM UTC by ajcrews comment:3

Changed June 24, 2010 06:52PM UTC by ajcrews comment:4

Changed September 07, 2011 12:38PM UTC by scottgonzalez comment:5

keywords: dialog focus effectanimation

Changed October 11, 2012 02:47PM UTC by scottgonzalez comment:6

milestone: 1.9.01.10.0

Changed October 15, 2012 05:51PM UTC by dcarrith comment:7

summary: Focus lost from dialog which uses show-effectDialog: Focus lost from dialog which uses show-effect

Changed October 15, 2012 06:37PM UTC by dcarrith comment:8

_comment0: This seems like a valid issue in IE 9: \ \ http://jsfiddle.net/n2qNw/1/ \ \ After the duration of 5000, the input loses focus. 1350326339419266

This seems like a valid issue (even in jQuery UI 1.9) in IE9:

http://jsfiddle.net/n2qNw/1/

After the duration of 5000, the input loses focus.

Changed October 15, 2012 06:44PM UTC by dcarrith comment:9

status: newopen

Changed November 29, 2012 05:23PM UTC by jzaefferer comment:10

We were hoping for clip-based animations to address this. Its unclear if that will ever happen.

Changed January 25, 2013 09:22PM UTC by tj.vantoll comment:11

milestone: 1.10.0none

Changed January 31, 2013 02:22AM UTC by Kris Borchers comment:12

resolution: → fixed
status: openclosed

Dialog: Move call to _focusTabbable and triggering of open and focus events into the _show callback. Fixes #6756 - Dialog: show: "blind" with link in content doesn't animate properly. Fixes #8051 - Dialog: 'Explode' dialog animation causes crash in IE 6, 7 and 8. Fixes #4421 - Dialog: Focus lost from dialog which uses show-effect

Changeset: d1505e3434ef99e0068347a5e8179a0ffd737676

Changed January 31, 2013 02:27AM UTC by scottgonzalez comment:13

milestone: none1.10.1