CodeNomad/packages
Pascal André e30c73716a
fix(ui): stabilize virtual follow autoscroll (#406)
## Summary
- Stabilize virtualized message autoscroll by keeping DOM/Virtua
orchestration in `VirtualFollowList` and moving pure follow/hold
behavior into a colocated tested module.
- Restore per-session scroll positions using Virtua metrics and anchor
snapshots while preventing hidden/inactive panes from overwriting good
snapshots.
- Gate streaming magnetization on active streaming, hold state, and the
bottom-of-viewport item so long assistant replies can still rejoin near
their tail without using stale top-of-viewport position.

## Supersedes / fixes
- supersedes #375.
- supersedes #356.
- fixes #305.

## Validation
- `node --test
packages/ui/src/components/virtual-follow-behavior.test.ts`
- `npm run typecheck --workspace @codenomad/ui`
- `npm run build --workspace @codenomad/tauri-app`
- Many manual release executable testing.
2026-06-06 20:13:23 +01:00
..
cloudflare Minimum version to 0.17.0 2026-06-04 21:07:53 +01:00
electron-app Bump version to 0.17.0 2026-06-04 21:05:56 +01:00
opencode-plugin Bump version to 0.17.0 2026-06-04 21:05:56 +01:00
server Bump version to 0.17.0 2026-06-04 21:05:56 +01:00
tauri-app Bump version to 0.17.0 2026-06-04 21:05:56 +01:00
ui fix(ui): stabilize virtual follow autoscroll (#406) 2026-06-06 20:13:23 +01:00