Steps to reproduce:
1. Use the code below in your app.js:
var win = Ti.UI.createWindow({backgroundColor : 'gray', layout: 'vertical'});
var tf = Ti.UI.createTextField({
value: 'aSDAsdasDASDasdasDasdaS',
width: Ti.UI.SIZE
});
var tf1 = Ti.UI.createTextField({
top: 40,
value: 'aSDAsdasDASDasdasDasdaS',
width: Ti.UI.SIZE
});
win.add(tf);
win.add(tf1);
win.open();
2. Build for android device/emulator.
3. Let the app launch.
4. You will see 2 textfields with value.
5. Click on the 2nd textfield.
Actual Result:
1. Notice that the second textfield does not get the focus. You can see the cursor for a second & disappear.
3. Clicking again on the 2nd textfield get the focus.
2. Clicking on the first textfield gets the focus & the soft keyboard pops up.
Expected Results:
1. Each textfields should get the focus clicking the first time.
This bug can happen with TextAreas too. This is a regression that was introduced in 7.0.0 before the release candidate. (Was never introduced to customers.)
PR (master): https://github.com/appcelerator/titanium_mobile/pull/9614
Verified the fix in SDK 7.0.0.v20171117152921. Closing.