Skip to main content

Search and Top Navigation

#8789 closed bug (fixed)

Opened November 08, 2012 07:11AM UTC

Closed November 26, 2012 09:30AM UTC

Dialog doesnot close for first click on chrome.

Reported by: developer123 Owned by:
Priority: minor Milestone: 1.10.0
Component: ui.dialog Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:
Description

See http://jsfiddle.net/sNknB/352/

In the above example, click on "tab 2" then click on dialog close button and observe. Dialog doesn't close instead it shifts and to close the dialog we have click close button once again. This issue is see in chrome (work fine in Mozilla). Found that this issue is due to the fix of bug http://bugs.jqueryui.com/ticket/8063 .

Please let me know how to solve this issue. Thanks in advance.

Attachments (0)
Change History (3)

Changed November 08, 2012 12:58PM UTC by scottgonzalez comment:1

component: ui.coreui.dialog
status: newopen

Changed November 22, 2012 02:51PM UTC by jzaefferer comment:2

Further reduced fiddle: http://jsfiddle.net/q7qbv/1/

#8838 is probably a duplicate, though its reported against IE only.

PR without unit test: https://github.com/jquery/jquery-ui/pull/828

I've tried building a unit test based on that fiddle, but can't get it to fail: https://gist.github.com/5e1b59de38dfc3902d13

Changed November 26, 2012 09:30AM UTC by Kris Borchers comment:3

resolution: → fixed
status: openclosed

Dialog: Update position when size is changed. Fixes #8789 - Dialog does not close for first click on chrome.

Changeset: d179cbaf3233ace0bc542e836c5c46e4129a9e0a