Open saimirg opened 7 months ago
Can you tell what property/method you are using to set focus on any non first item?
I tried the focusOptions.hasPreferredFocus
Right. hasPreferredFocus
only on visible items and recycler has only certain amount of items visible initially. This is valid functionality what you asking I will add it to mine backlog and will do it
hi @aurimasmi is there any workaround to it ? Is there any to fix it in the near future ?
hi @aurimasmi , i'm using initialScrollIndex and it seem to be doing the work, but only when you scroll right afterward. If you scroll left, it kind of repeats its self. It takes you back to the initial scroll index. Is there any hack to this ? This is the implementation:
<FlashList
data={channels}
renderItem={rowRenderer}
horizontal
type="row"
estimatedItemSize={Dimensions.get("window").width / 1}
initialScrollIndex={50}
/>
Hi, I have along carouse/flashlist and i want to set the focus on a specific item when it shows up. It only works when the item is within 20items difference from the first one, if it is further it doesnt work. How do i set the focus on a remote item ?