TanStack
OSS
router
Sign in / Sign up
Open main menu
router
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Failed
7046
f02c69b4 ci: apply automated fixes
6 days ago
by autofix-ci...
a
Failed
7046
b355c52d fix(scroll-restoration): capture restoreKey at event time to fix throttle race condition When the onScroll throttle executed, it read router.state.location at execution time (up to 100ms after the scroll event fired). If the user scrolled and navigated within that 100ms window, the old page's scroll position was saved under the new page's cache key. Fix 1: Capture restoreKey eagerly at scroll-event time by separating the event listener from a dedicated throttled save function that receives the key as an argument. Fix 2: Clear any stale cache entry for the destination key before calling restoreScroll() in the onRendered subscriber, guarding against browser-generated scroll events during DOM transitions. Fixes #7040
6 days ago
by sleitor
s
Previous page
Previous
Next
Next page