Skip to main content

Bug Tracker

Side navigation

#2540 closed bug (fixed)

Opened March 18, 2008 01:22PM UTC

Closed April 20, 2008 02:35PM UTC

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:

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

Attachments (0)
Change History (2)

Changed March 19, 2008 01:15PM UTC by paul comment:1

owner: paulscott.gonzalez

Changed April 20, 2008 02:35PM UTC by scott.gonzal comment:2

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.