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
fix(v2): refetch list rows on gallery context refresh
A list row fetched its rom only in onMounted. A filter / search / sort /
scan refresh clears byPosition and repopulates romIdIndex while the row
stays mounted at the same position, so it was stranded on skeletons until
it scrolled out and remounted.
Replace the onMounted fetch with a watch that fires fetchRomAt whenever
the position is missing its rom but the store knows its id. Guarding on
the id (not just a null rom) also refetches when a resort lands a
different rom at the same position. The store still dedupes against
in-flight + already-loaded, so re-runs are cheap.
Generated-By: PostHog Code
Task-Id: fe232494-3d20-4d83-9eaa-3ce341d4e7b5
0 commit comments