You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Stephan Plath (JIRA)" <ji...@apache.org> on 2013/09/18 10:34:51 UTC
[jira] [Created] (FLEX-33741) Propagation of Escape key in
mx.controls.DateField should only be stopped if the DropDown is shown
Stephan Plath created FLEX-33741:
------------------------------------
Summary: Propagation of Escape key in mx.controls.DateField should only be stopped if the DropDown is shown
Key: FLEX-33741
URL: https://issues.apache.org/jira/browse/FLEX-33741
Project: Apache Flex
Issue Type: Bug
Components: mx: DateField
Affects Versions: Apache Flex 4.10.0
Reporter: Stephan Plath
Priority: Minor
DateField's keyDownHandler() stops propagation of the Escape key only if it is not editable, but this should only be done if the dropDown is shown, so the parent container gets a chance to handle the Escape key.
Proposed solution:
...
else if (event.keyCode == Keyboard.ESCAPE)
{
if (showingDropdown)
{
selectedDate = lastSelectedDate;
displayDropdown(false, event);
event.stopPropagation();
}
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira