Opened 7 years ago

Closed 7 years ago

#8789 closed bug (fixed)

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.

Change History (3)

comment:1 Changed 7 years ago by Scott González

Component: ui.coreui.dialog
Status: newopen

comment:2 Changed 7 years ago by Jörn Zaefferer

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

comment:3 Changed 7 years ago by Kris Borchers

Resolution: fixed
Status: openclosed

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

Changeset: d179cbaf3233ace0bc542e836c5c46e4129a9e0a

Note: See TracTickets for help on using tickets.