ishdanbiketto
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2017
09:23 AM
Multiple OnkeyEvent
Hello,
I have an issue similar to this:
https://forums.roku.com/viewtopic.php?f ... 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.
I have an issue similar to this:
https://forums.roku.com/viewtopic.php?f ... 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.
1 REPLY 1
Tyler_Smith
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2017
12:11 PM
Re: Multiple OnkeyEvent
Are you returning 'true' in the keypress function where you want to prevent the keypress from bubbling?
Tyler Smith