Bug Tracker

Opened 12 years ago

Closed 12 years ago

#2540 closed bug (fixed)

UI Dialog ESC key

Reported by: tonyt Owned by: scottgonzalez
Priority: minor Milestone: 1.2.3
Component: ui Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:

Description

When we open more than one dialog only the last opened dialog is closed with esc key. The other does not close with ESC key.

To reproduce this. In demo page - open all the dialogs whitout closing them. Press ESC key. Only the last opened dialog is closed. The other can not be closed with ESC keys

Change History (2)

comment:1 Changed 12 years ago by paul

Owner: changed from paul to scott.gonzalez

comment:2 Changed 12 years ago by scott.gonzal

Resolution: fixed
Status: newclosed

Fixed in [5272]. As long as an element in the dialog has focus, pressing escape will close the dialog. I also added an option closeOnEscape (defaults to true) for controlling this behavior.

Note: See TracTickets for help on using tickets.