You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/04/22 16:59:31 UTC
[royale-asjs] branch develop updated: jewel-searchforlist bead:
avoid problems with tab key due to new changes
This is an automated email from the ASF dual-hosted git repository.
carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 485f9c1 jewel-searchforlist bead: avoid problems with tab key due to new changes
485f9c1 is described below
commit 485f9c19516ade1749f1c3054f0fd30160a724fa
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Wed Apr 22 18:59:26 2020 +0200
jewel-searchforlist bead: avoid problems with tab key due to new changes
---
.../royale/jewel/beads/controls/textinput/SearchFilterForList.as | 3 +++
1 file changed, 3 insertions(+)
diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/textinput/SearchFilterForList.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/textinput/SearchFilterForList.as
index 0f68203..d70bc69 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/textinput/SearchFilterForList.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/textinput/SearchFilterForList.as
@@ -123,6 +123,9 @@ package org.apache.royale.jewel.beads.controls.textinput
protected function keyUpHandler(event:KeyboardEvent):void
{
+ if(event.key === KeyboardEvent.KEYCODE__TAB)
+ return;
+
const inputBase:TextInputBase = event.target as TextInputBase;
//keyup can include other things like tab navigation