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.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nmaves
Visitor

Last item in targetgroup flashing

I have everything working perfectly with my target group but the last item is flashing when other indexes are focused.  Anyone else run into this issue?
0 Kudos
1 REPLY 1

Re: Last item in targetgroup flashing

You have to add extra targetRects in your TargetSet.
For example, if you are displaying 3 (three) items, then

targetSet.targetRects = [
    { ... rectX ... }, ' "invisible" rectangle for avoiding flashing last item

    { ... rect1 ... }, ' rectangle for item 1
    { ... rect2 ... }, ' rectangle for item 2
    { ... rect3 ... }, ' rectangle for item 3

    { ... rectY ... }, ' "invisible" rectangle for avoiding flashing last item
]

Hope this helps.
0 Kudos