Forum Discussion
Your question would be more clear if you also posted a screenshot of your UI. Then rephrase your question, thanks.
I have created a search button that when clicked opens a keyboard. When i reach the bottom edge of the keyboard and press down the focus goes out of the keyboard onto the previous page. If i press down after this it goes out of keyboard focus.
- Uzair_Abdullah3 years agoStreaming Star
The keyboard focus doesn't fall out unless there is another focusable element. Check your XML if you haven't accidentally added another focusable node. As for the part if it goes back to the previous screen, I don't understand, how does it do that?
- silentEngineer3 years agoChannel Surfer
i rendered the keyboard over the grid screen. I think im missing something. Do you have a sample for search in roku channel?
- Uzair_Abdullah3 years agoStreaming Star
unfortunately, no. I haven't worked on search.
- NoobTube3 years agoReel Rookie
If your requirement is to have fix focus on keyboard only thn you can define a custom keyboard and extend that component with Keyboard and simply define a onKeyEvent function and check if key press is down return True.