feat(chat): upgrade @legendapp/list to 3.3.8 and let it own end following
3.3.x makes maintainScrollAtEnd follow content growth on its own — a tail row growing in place included — which is exactly what the manual totalSize correction existed for. Delete that correction (the totalSize listener now only drives the anchored-turn glide) and pick up 3.3.x's measurement batching, prepend-flash fixes, and web programmatic-scroll fixes. Opt the explicit maintainScrollAtEnd config into footerLayout per the 3.1.1 guidance. The library's own released-on-user-scroll heuristic proved unreliable one run in three against synthetic touch, so the gesture state machine stays authoritative: while a real gesture owns the scroll, the list's end pinning is switched off through a threaded endPinningReleased prop and re-engages when the user returns to the end. Validated with the CDP battery on a production build: stream follow stays at distance 0, mobile drag releases with the pill shown in three of three runs, resize oscillation stays at the reduced level, the rail reaches the last turn, and profiled streaming cost per rendered character matches the tuned 3.2.0 numbers.
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
"@dnd-kit/core": "^6.3.1",
|
||||
"@dnd-kit/sortable": "^10.0.0",
|
||||
"@dnd-kit/utilities": "^3.2.2",
|
||||
"@legendapp/list": "3.2.0",
|
||||
"@legendapp/list": "3.3.8",
|
||||
"@lezer/highlight": "^1.2.3",
|
||||
"@opencode-ai/sdk": "1.18.21",
|
||||
"@pierre/diffs": "1.3.0-beta.6",
|
||||
|
||||
Reference in New Issue
Block a user