You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having trouble getting stickyHeaders to work with LegendList. They don't seem to want to stick, they disappear. 😛
I'm also getting an error on render which may be related.
Here's the error.
Warning: Cannot update a component (`InnerContainer`) while rendering a different component (`ForwardRef(LegendListInner2)`). To locate the bad setState() call inside `in LegendListInner2in StateProviderin LegendList2
Ah I think that's not supported yet! I'll put it on my todo list to fix. It's different than FlatList because in Legend List items are absolutely positioned so sticky doesn't work. Or if anyone has any ideas, a suggestion or PR would be awesome!
I'm having trouble getting stickyHeaders to work with LegendList. They don't seem to want to stick, they disappear. 😛
I'm also getting an error on render which may be related.
Here's the error.
And here's the gist of the code.
Which simply results in an array like
[0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24]
To ensure it wasn't ScheduleListRow I set it to just render some text.
Everything works with a FlatList.
Here is LegendList. As I scroll down the rows disappear. On up they reappear.
XRecorder_Edited_21122024_131814.mp4
The text was updated successfully, but these errors were encountered: