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: 
Reel Rookie

LEFT/RIGHT key in "onKeyEvent" is not getting fired on RowList

In Rowlist when rowFocusAnimationStyle = "fixedFocusWrap" and vertFocusAnimationStyle = "fixedFocusWrap", the LEFT/RIGHT key is not getting fired though other keys are fired. 

How can I detect the LEFT/RIGHT keys in onKeyEvent when the focus is on the 0th position of the row/column so that I can move the focus out from the Rowlist.

0 Kudos
Roku Guru

Re: LEFT/RIGHT key in "onKeyEvent" is not getting fired on RowList

The entire reason you use FixedFocusWrap is when you allow the user to remain inside the rowlist when using left/right and rewind/fast-forward. This is expected behavior.

FixedFocusWrap will swallow the left/right keypresses. To see them use FixedFocus instead.


0 Kudos