[TIMOB-14157] Android: TextField: Nexus 10: soft keyboard covers the textfield when using Ti.UI.TEXT_ALIGNMENT_CENTER/RIGHT in HW window
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.1.1, Release 3.2.0 |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Ping Wang |
Assignee | Unknown |
Created | 2013-06-07T20:12:13.000+0000 |
Updated | 2018-02-28T20:03:33.000+0000 |
Description
Test case:
var win = Ti.UI.createWindow({
backgroundColor : 'yellow',
fullscreen : false
});
var view = Ti.UI.createView({
bottom : 10,
height : 400,
width : 500,
backgroundColor : 'blue'
});
var gardenTextField = Ti.UI.createTextField({
textAlign : Ti.UI.TEXT_ALIGNMENT_CENTER,
value : "gardenName",
editable : true,
color : 'black',
backgroundColor : 'white',
left : 10,
bottom : 10,
paddingLeft : 8,
paddingRight : 8,
width : 400,
height : 100,
maxLength : -1
});
view.add(gardenTextField);
win.add(view);
win.open();
Steps to reproduce:
1. Run the above code.
2. Click on the textfield. The soft keyboard shows and does not cover the textfield.
3. Dismiss the keyboard.
4. Click on the textfield.
Expect behavior: the soft keyboard shows and does not cover the textfield.
Actual behavior: the soft keyboard covers the textfield.
Only reproduce on Nexus 10 (4.2).
Cannot reproduce on Nexus 7 (4.1), Galaxy Tab 10.1(3.2).
No comments