Focus not getting back when we use keyboards and buttons together in a vertical list.
Arunprasanth opened this issue · comments
I have created a vertical list and added 2 buttons and one keyboard in to it. Focus is working fine when I navigate between buttons but when focus comes to keyboard then I cannot navigate back to any of the buttons. Is there any way to resolve this issue ?
Please find my example from example
Note : as a temporary solution now I am detecting the up/down key event in keyboard and using listWidget.getChildWidgets()[index].focus();
to get focus
Thanks & Regards ,
Arunprasanth KV
Hi @Arunprasanth,
I think your issue is that you have enabled vertical wrapping of the keyboard:
myVirtualKeyBoard = new Keyboard("Keyboard", 23, 2 ,keys, true , true);
The 6th parameter sets vertical wrapping to true
. So when you press UP or DOWN to focus away from the keyboard, it will instead wrap to the bottom or top row of the keyboard respectively.
Thanks,
Tom
@tsadler1988 Thnaks for your response
Closing as issue has been answered.
We have deprecated this project and there are no plans for active development going forward.
Please see the deprecation notice.