Community
Participate
Working Groups
Hi, I have completion with ContentProposalAdapter in a Dialog. When popup completion opens and I key "Esc" to close the popup, the popup closes (it"s OK) but my Dialog closes too (not OK). The case with "Esc" which works is if I open the popup, I select an item to the popup with mouse and I key "Esc", the popup closes and my Dialog DOENS'T close. I have tested that with FF, Google Chrome and IE8. Regards Angelo
Seems to be related to bug 329926. Probably Escape and Return keys need to be prevented when any pop-ups are opened.
After a quick look even the ESC key event is canceled on the server (doit = false ContentProposalAdapter line 368) this event reaches the dialog shell.
ESC and ENTER keys have been added to the CANCEL_KEYS. Dialog should not be affected by ESC and ENTER anymore.