Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
Adobe Flex SDK 4.5 (Release)
-
None
-
None
-
Affected OS(s): Google Android
Browser: Other (specify version)
Language Found: English
Description
Steps to reproduce:
1. SETUP:
run app on an actual Hardware device (I tested both the Notion Ink Adam running beast 2.2 ROM and Galaxy Tab (not sure if it's 2.2 or 2.3, sorry - both were rooted)
Mobile project created in Flash Builder 4.5 set
aspectRatio = landscape
autoOrients = false
View contains 3 scrollers with custom components in each one (this isn't required, just describing the set up)
custom component has a TextInput Field in it.
2. set focus on one of the TextInput fields
3. softkeyboard will come up
4. enter some text and hide the keyboard, or change the focus (I did it this way: "stage.focus = null;")
5. Keyboard disappears but the softkeyboardRect remains (white background) and takes up over 1/2 the screen.
Alternative steps for 4/5:
4a. enter some text and click Done (galaxy tab) or back button (Notion Ink Adam)
5a. Keyboard disappears as does the softkeyboardRect, but the focus stays on the text area.
Actual Results:
Either focus remains on textInput when it shouldn't (see 4a, 5a above)
OR
softkeyboardRect area doesn't go away (see 4, 5 above)
Expected Results:
softkeyboardRect should disappear when softkeyboard deactivates due to focus changing or "done" button being clicked.
Workaround (if any):
There's not really a workaround - you either have the focus in the textInput still, or you have the softkeyboardRect taking up half the screen.
Ideal solution:
Programmatic way to "hard cancel" the softkeyboard, similar to what happens when you backclick (hit physical back button on NI Adam, or Done on Galaxy Tab)-
something like "this.requestSoftKeyboard()" — maybe "this.cancelSoftKeyboard()" which will put the softkeyboardRect to (0,0,0,0)
sample Project is attached. gesture two-finger click OR double click on "patient #"- the last list item in the first scroller