Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Multiple OnkeyEvent


I have an issue similar to this: ... db94f7a380

He received a response from a board administrator that didn't make much sense. I currently have multiple onKeyEvents but the focus seems to be not in sync when switching screens. The focus would stay only on the first screen and any other screens after that would not receive the focus (even when I set focus).

 So the question comes: Is it possible to have multiple onKeyEvents that switch in and out of focus? If so, how do I just have only one onKeyEvent fire at a time?

Thanks in advance.
0 Kudos
Binge Watcher

Re: Multiple OnkeyEvent

Are you returning 'true' in the keypress function where you want to prevent the keypress from bubbling?
Tyler Smith
0 Kudos