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

Section Title issue in MarkupList

Section Title is not visible if I am using vertFocusAnimationStyle = floatingFocus or vertFocusAnimationStyle = fixedFocus. 
As per documentation it should work with the fixedFocus value. 


Also, Section title is not visible even after using the value fixedFocusWrap, you need to press the up key to see the section title. (Also the disadvantage of using fixedFocusWrap is that it creates infinite loop on up/down key press, we can't release focus on up/down key press)
Not able to use this component because of these bugs. 

Can someone please help?

There is no MarkupList example also which is working fine with multiple sections. If someone has please do share.
0 Kudos
5 REPLIES 5
Anonymous
Not applicable

Re: Section Title issue in MarkupList

.

0 Kudos
speechles
Roku Guru

Re: Section Title issue in MarkupList

Also the disadvantage of using fixedFocusWrap is that it creates infinite loop on up/down key press



The clue is the word "wrap" .. It is going to infinitely wrap.

Say your area to display can only show 4 items at any time.
If you have only 4 or less items to display don't use fixedfocuswrap instead use floatingfocus and manually control the wrapping yourself in an onkeyevent.
If you have more than 4 items to display in that area use the fixedfocuswrap and get the benefit of the wrapping built-into the interface.

This is how I always do that to make it less crazy.
0 Kudos
owen777
Binge Watcher

Re: Section Title issue in MarkupList

To not open a new thread - there is a bug with MarkupList when using "floatingFocus" vertFocusAnimationStyle - sections aren't rendered. It works properly only with "fixedFocusWrap". It looks like this bug occurs for at least one year.


By the way, there is wrong info in the docs. The default value of the vertFocusAnimationStyle property is "fixedFocusWrap" while the docs says it's "floatingFocus".

Guys from Roku, do you plan to do something with this?

Edit: Problem occurs also for MarkupGrid
0 Kudos
speechles
Roku Guru

Re: Section Title issue in MarkupList

@owen777 might be the same bug causing this: https://forums.roku.com/viewtopic.php?f=34&t=152839&p=644466

Using "blanks" to pad around to get things to render properly is technically a hack but it fixes the bug or is it a feature?
0 Kudos
owen777
Binge Watcher

Re: Section Title issue in MarkupList

@speechles it's a different problem. In the end I worked around it by adding additional section info into the first item of every section and resigning from sections, but of course it's a huge hack. As huge as the bug is.
0 Kudos