[AC-5783] Android: Cannot click to focus on TextField and TextArea
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Resolved |
| Resolution | Duplicate |
| Resolution Date | 2018-06-30T12:49:39.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | n/a |
| Reporter | Muhammad Ahmed Fahad |
| Assignee | Shak Hossain |
| Created | 2018-06-27T10:46:34.000+0000 |
| Updated | 2018-06-30T12:49:40.000+0000 |
Description
Environment:
Ti SDK: 7.3.0.v20180626174550
Android: 8.0.0
Device: Samsung Galaxy S8+
Focusing using the .focus() method works fine
For example, use kitchensink-v2 (https://github.com/appcelerator/kitchensink-v2) and use 7.3.0.X Ti.SDK
(On kitchensink-v2 the TextArea seems to be working but still cannot click to focus on the TextFields.)
Hello, Please compose a sample code and share in here, We will test the issue. Thanks.
Please check the kitchensink-v2 app: https://github.com/appcelerator/kitchensink-v2 (Controls -> Text Field) I was able to see the issue happening in it.
or just use:
The problem seems to happen when the TextField/TextArea is inside a ScrollView<Alloy> <Window width="Ti.UI.FILL" height="Ti.UI.FILL"> <ScrollView width="Ti.UI.FILL" height="Ti.UI.FILL" backgroundColor="red" layout="vertical"> <TextArea height="50" width="Ti.UI.FILL" backgroundColor="green"/> <TextField height="50" width="Ti.UI.FILL" backgroundColor="blue"/> </ScrollView> </Window> </Alloy>