With react-native FlatList initialScrollIndex will work only if you have predetermined heights of the cells, and with FlashList i wasn't able to make initialScrollIndex to work at all without artifacts.
05.01.2025 09:30 — 👍 1 🔁 0 💬 0 📌 0@michbil.bsky.social
React Native guy. Munich, Germany.
With react-native FlatList initialScrollIndex will work only if you have predetermined heights of the cells, and with FlashList i wasn't able to make initialScrollIndex to work at all without artifacts.
05.01.2025 09:30 — 👍 1 🔁 0 💬 0 📌 0Today my big PR to @jayz.us 's LegendList was merged. maintainScrollPosition prop was greatly improved. Now it's possible to have accurate initialScrollIndex position with dynamically sized elements, and easy to create bidirectional infinite lists. youtu.be/eP8vDBOPw1w?...
05.01.2025 09:29 — 👍 7 🔁 0 💬 2 📌 1