[TIMOB-26336] Android: Cursor issue when textfield inside view, which is under tableview
GitHub Issue | n/a |
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2019-01-11T02:29:52.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Shuo Liang |
Assignee | Gary Mathews |
Created | 2018-08-24T09:25:27.000+0000 |
Updated | 2019-01-11T02:29:55.000+0000 |
Description
Reproduce
1.Run the following code in an Alloy project. (Simple structure, textfield is under view, and view is under tableviewRow).
2.Click different Rows (basically card type in the example).
3 There will be a textfield to input.
4.Try #2 and #3 serval times.
Problem
5. You will see, some times, there is no cursor display in textfield.
6. The other problem is, some times, if you click the textfield, which is focused already. The cursor will disappear.
Note
Mainly code about focus and cursor is around line 471 - 478 in index.js file
Attachments
Any update on this?
[~sliang] I don't see the cursor disappearing. Please check out the attached screen recording of what I see, also I changed the text field background color to yellow to make the text field area visible.
[~fmiao] Changed background color like you did. Still can see the problem. Please check the record I made. (Android 6 Emulator)
I highly recommend they use ListView and a template for this: *index.js*
*index.xml*
*index.tss*
Informed customer about that listview suggestion week ago, no reply at all. Will push it again.