Opened 4 years ago

Last modified 4 years ago

#10132 open bug

Dialog: Closes on escape even if select is open (Firefox and IE)

Reported by: tj.vantoll Owned by:
Priority: minor Milestone: none
Component: ui.dialog Version: 1.11.0
Keywords: Cc:
Blocked by: Blocking:

Description

If you have a dropdown open to select options and you press the escape key, you would expect the select to close but not the dialog. In Firefox and IE the dialog closes: http://jsfiddle.net/tj_vantoll/LzNQb/. The same behavior does not occur in Chrome or Safari.

Change History (1)

comment:1 Changed 4 years ago by petersendidit

Status: newopen

Fun, looks like Chrome and Safari doesn't fire a keydown event when the target is the select element and the options are open but IE and Firefox does.

http://jsfiddle.net/7w9GS/1/

Note: See TracTickets for help on using tickets.