Description
Just define TextField alignment to the right side and place it bottom of the window. Now touch on it for entering value and click back button then again touch it, now you will see the issue.
Steps to Reproduce.
1. Click on the textbox then soft keyboard will appear and a textbox is able visible.
2. Click on the hardware back button, then the soft keyboard will disappear.
3. Again, click on the textbox box, then soft keyboard is appears, but text box is unable to visible.
Actual result : Unable see the textbox.
Expected result : Able see the textbox for entering the value.
Test Case:
var win = Ti.UI.createWindow({
backgroundColor : 'white'
});
var customermodule = require('com.customerissue');
Ti.API.info("module is => " + customermodule);
var textField = Ti.UI.createTextField({
top : "400",
//left : 10,
width : 200,
height : "50",
borderRadius : 4,
borderWidth : 1,
textAlign : Titanium.UI.TEXT_ALIGNMENT_RIGHT,
borderColor : "#1c76bc",
keyboardType : Ti.UI.KEYBOARD_NUMBER_PAD,
returnKeyType : Titanium.UI.RETURNKEY_NUMBER_PAD,
color : '#3b3c3f',
});
win.add(textField);
win.open();
Thanks.
[~morahman] Using the test case provided, I cannot reproduce the issue on either my device or emulator. What device are you using and what version on Android?
Hello, I also can't reproduce the issue in SDK 6.0.1.GA in Android 6.0.1. device. 1. Click on the textbox then soft keyboard will appear and textbox is visible. 2. Click on the hardware back button, then the soft keyboard will disappear. 3. Again, click on the textbox box, again soft keyboard appears, textbox is visible as expected. Thanks.
I am able to reproduce the issue with sdk 6.0.3.GA, 6.0.2.GA, 6.0.1.GA. Appc Studio : 4.8.1.201612050850 Mac OS Version : 10.12.3 Xcode Version : Xcode 8.2.1 Build version 8C1002 Appc CLI AND Appc NPM : {"NPM":"4.2.8","CLI":"6.1.0"} Ti CLI : 5.0.11 Alloy : 1.9.5 Node : v4.6.0 Nexus 6 running 6.0.1
master: https://github.com/appcelerator/titanium_mobile/pull/8922
Verified fix in 6.2.0.v20170419095718. Test and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/8922