-
-
Notifications
You must be signed in to change notification settings - Fork 97
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Describe the bug
solid-js Suspense causes VList rendered items to be incorrectly positioned, resulting in clipped content or blank viewport.
bug.mp4
Expected behavior
For VList to preserve items and scroll position when Suspense is finished and renders content
To Reproduce
- clone repo https://github.com/aquaductape/virtua-solid-suspense-issue
- scroll until "Entity 8" is no longer visible in scroll viewport
- click any ℹ️ button, which fetches resource
- Triggers parent Suspense
- Suspense fallback renders
- Resource is done
- Suspense renders content
- VList renders items, but are incorrectly posisitioned on y axis, sometimes outside of scroll viewport
Repo
Platform:
- OS: MacOS 15.7.3 (24G419)
- Browser: Chrome 143.0.7499.41 (Official Build) (arm64)
- Version of virtua: 0.48.2
- Version of framework: solid-js 1.9.10
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed