You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/09/18 10:46:53 UTC
[jira] [Assigned] (FLEX-33741) Propagation of Escape key in
mx.controls.DateField should only be stopped if the DropDown is shown
[ https://issues.apache.org/jira/browse/FLEX-33741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean reassigned FLEX-33741:
------------------------------------
Assignee: Justin Mclean
> 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
> Assignee: Justin Mclean
> Priority: Minor
> Labels: patch
> Original Estimate: 5m
> Remaining Estimate: 5m
>
> 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