Repository navigation
docs(virtual-core): bring the hold comments up to date with the wheel hold - #1407
Conversation
… hold Comments only, plus the wording of the TanStack#1400 changeset: - the real Safari run from TanStack#1400 replaces 'not measured'; - the two-frame lag before the top was seen in Playwright WebKit 26.0 and not in 27.2; - the callers of _flushHoldIfReady and the reasons a write is held now name the wheel timer, the frame at the top and a command's start; - a command writes a wheel hold first, it no longer lands short of it; - the changeset no longer says no distance is lost: a write at the top can still cost a wheel event or two.
|
| Name | Type |
|---|---|
| @tanstack/virtual-core | Patch |
| @tanstack/angular-virtual | Patch |
| @tanstack/lit-virtual | Patch |
| @tanstack/marko-virtual | Patch |
| @tanstack/react-virtual | Patch |
| @tanstack/solid-virtual | Patch |
| @tanstack/svelte-virtual | Patch |
| @tanstack/vue-virtual | Patch |
| @tanstack/virtual-benchmarks | Patch |
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
View your CI Pipeline Execution ↗ for commit 305bf0e
💡 With Ultracache enabled, Nx Cloud learns each task's file inputs in CI and uses them on later runs. Turn on Ultracache in workspace settings ↗ · Read docs ↗ ☁️ Nx Cloud last updated this comment at |
🎯 Changes
Follow-up to #1400, comments only plus the wording of its changeset. No code line changes.
A few comments around the hold went stale while #1400 moved:
_flushHoldIfReadynow name the wheel timer, the frame at the top and a command's start._startScrollsaid a command lands_holdOffsetshort of a held correction. A wheel hold is written first now, a touch or bounce hold still works the old way.One thing the comment on
_flushHoldIfReadyonly records and doesn't fix: a command's start passessync: truealthough_willUpdatecan reach it through a follow on append. Came up in review of #1400, separate from #1406.✅ Checklist
pnpm run test:pr. (Ran virtual-coretest:lib,test:types,test:eslintand the affected set from the pre-push hook.)🚀 Release Impact
🤖 Generated with Claude Code
Summary by CodeRabbit