Repository navigation
Conversation
🦋 Changeset detectedLatest commit: e562e14 The changes in this PR will be included in the next version bump. This PR includes changesets to release 9 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
View your CI Pipeline Execution ↗ for commit e562e14
💡 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
A Solid list that measures its rows logs "ResizeObserver loop completed with undelivered notifications." each time its scroll element gets shorter and rows leave the range. The scroll element's rect callback now drops detached rows after it notifies, as the row observer does.
measureElement(null), so on this path nothing unobserves them before the browser gathers observations again. Nothing visible breaks; the error reacheswindow.onerroron every shrink.this.measureElement(null)aftermaybeNotify(). It skips the synchronous first read in_willUpdate, which is not a delivery, so a row that is cached before it is attached stays observed.pnpm --filter @tanstack/virtual-core exec vitest run tests/measurement.test.ts. One new case renders insideonChangewithout a null ref and fails without the change; another covers the first read. In Chromium 159 the page below logs the error in 5 of 5 runs with the published packages and in 0 of 5 with@tanstack/virtual-corebuilt from this branch.Related: #1345, #1348, #1412.
Reproduction, with solid-js 1.9.9 and
@tanstack/solid-virtual3.13.57 (@tanstack/virtual-core3.19.15). The rows set their index in the ref callback and measure after it, the forms given in #930:document.documentElement.style.setProperty('--viewport', '300px')in the console.Page
✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit