[AC-6509] Picker's focus event not working on Android
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | Naman Vishoi |
Assignee | Abir Mukherjee |
Created | 2020-03-19T14:27:45.000+0000 |
Updated | 2020-03-30T08:56:36.000+0000 |
Description
We have a screen where on "return" event of a text field, we are calling the focus event of picker. But it doesn't pop-up the picker.
To reproduce this issue, download the code from below shared link.
https://drive.google.com/open?id=1o3XYemcFsvxauHYWc8x0MI1aj7D484SS
Launch the app on Android, type something in the LastName text field, and then press enter/next on the keyboard. It should focus on the picker, but instead it's focusing on the last text field.
Can you please look into this issue and patch the fix to 8.3.0/8.3.1 ?
Thanks
Hi, could you please attach a compact standalone app, single file, titanium classic: index.js basically.
I have uploaded the whole titanium classic app at https://drive.google.com/file/d/1I0Kidowi5gl-GV28b2FyqVVyTl8h38er/view?usp=sharing Also pasted the single file content in the comment above
Hi, If you check the documentation you can see the focus event doesn't exist in a picker, however, when you change the row in the callback function to this:
And you add this property to the picker:
You should see the picker open when you click the return key while focussed on the lastname field. let me know if this solves it for you, then we can close the ticket.