Forum Discussion

tsornin's avatar
tsornin
Channel Surfer
12 months ago

Bug? 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...

 

No RepliesBe the first to reply