openGeeksLab / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Textfield input does not go to next field #1319

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Load attached project files.

What is the expected output? What do you see instead?

Expect completion of editing on textfield and pressing "Next" on virtual keypad 
will scroll next textfield into view. Does not.

What version of the product are you using? On what operating system?

Latest CN1 libs

Have only tested this on Android devices.

Original issue reported on code.google.com by bry...@webbtide.com on 28 Jan 2015 at 11:39

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by shai.almog on 28 Jan 2015 at 2:12

GoogleCodeExporter commented 8 years ago
Seems like the algorithm to find the next focus down is failing to find the 
next component down.
It is a quite complex algorithm which might fail in some components nesting 
use-cases.

It is possible to hint your component what's the nextfocusDown to help this 
algorithm.
Open the properties and for each TextField explicitly mention the nextFocusDown 
to be the next TextField, this will fix this issue.

Original comment by cf27...@gmail.com on 29 Jan 2015 at 8:02