ta
TanStack
GitHub
virtual
Workspace
GitHub
CI Pipeline Executions
Filtered
Runs
Demo
Insights
Compare tasks
Analytics
Sign in
Toggle sidebar
Overview
⌘K
virtual
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
Succeeded
fix/cancel-isscrolling-debounce-on-cleanup
9b7c1e0a fix(virtual-core): reset the scroll flags in cleanup Cancelling the debounce removed the only writer of `isScrolling = false`. That is fine on unmount, but `cleanup()` also runs when the scroll element changes and when `enabled` goes false, and there the instance stays alive: scroll, disable, wait past `isScrollingResetDelay`, re-enable, and the flag was left stuck on. A stuck flag skips sync measurement, strands the iOS deferred adjustment and leaves `scrollDirection` stale. Reset both flags in `cleanup()` next to the other per-element state. Also drop the `waitForTimeout(250)` in the marko option-gates e2e. It was there to sidestep this exact zombie timer and is annotated to be removed once a cancellable debounce lands, so it now doubles as coverage.
by solomon
s
Previous
Next