Something went wrong. Try again.
Mirror — see github.com/blacksky-algorithms/blacksky.community
Something went wrong. Try again.
fix(community-feed): stop interval refetch hijacking scroll, probe head for freshness
Refetching the infinite timeline query on a 60s timer replays every loaded page and swaps the whole dataset; when scrolled deep this shifts content under the viewport, so iOS clamps the offset and the feed flashes, jumps to top, and re-triggers onEndReached in a loop (also dismissing fullscreen video when its item unmounts). Replace the interval and on-focus refetch with a one-post head probe that lights the LoadLatestBtn indicator; real refetches now only happen on pull-to-refresh, the load-latest pill, or when the feed is empty.
Author Rishi Balakrishnan Date (Aug 2, 2026, 1:57 PM UTC) Commit
Copy SHA
Parent fb76b91d fb76b91d9a6a23d37c81827196e83cd7975ce9c9