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: 
tsornin
Channel Surfer

RowList jumps over 2 rows after being updated

I'm using a RowList to display my channel's content. I'm also using a timer to check when events go live, so I can update the poster for that item to show a "Live Now" label at the top of the card. I've tried this two different ways, both with updating the individual ContentNode item in the row:

   item.update({liveNow: isLiveNow})

And also with replacing the entire row:

   gridScreen.content.replaceChild(newLiveRow, rowId)

After I update the item though, my RowList will jump over a row when scrolling down with the remote. It only does this the first time I scroll - after that it works properly.

This seems like a Roku bug? I can't figure out anything to do differently to keep it from jumping. I am checking to see if the rowList still has focus after the update, and if not I call rowList.setFocus(true). Most of the time it still has the focus correctly though.

I don't encounter this problem when the content is initially loaded. Only after updating the content...

0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.