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
Clear initiallyFocusedItemKey after first render to prevent FlashList auto-scroll
FlashList internally auto-scrolls when initialScrollIndex changes from -1 to a
valid index. This happens when search is cleared and the focused item key
transitions from "not found" to "found" in the data. Using a ref to track
post-mount state ensures the key is only passed on the initial render.
Co-authored-by: mkhutornyi <mkhutornyi@users.noreply.github.com>
0 commit comments