hermes-agent/apps/desktop/src
Brooklyn Nicholson e67ab2e042 fix(desktop): stop chat scroll jumping by disabling native scroll anchoring
The thread renders virtualized turns in natural document flow with padding
spacers, and @tanstack/react-virtual already adjusts scrollTop itself when an
off-screen turn is measured and its real height differs from the 220px
estimate. With the browser default `overflow-anchor: auto`, native scroll
anchoring corrects that SAME size delta too, so the two double-correct and the
view lurches — most visibly with Windows mouse wheels, whose coarse notches
mount/measure several under-estimated turns per tick (Mac trackpads scroll
~1-3px/frame, keeping it sub-perceptual).

Set `overflow-anchor: none` on the thread viewport so only the virtualizer
compensates. Also adds `diag-scroll-reset.mjs`, a CDP wheel-up repro that A/B
tests the anchor behavior at runtime to confirm the fix.
2026-06-02 23:08:01 -05:00
..
app fix(desktop): switch model on keyboard activation of picker rows 2026-06-02 19:50:55 -05:00
components Merge pull request #37738 from NousResearch/bb/statusbar-model-menu 2026-06-02 20:00:39 -05:00
hooks Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
lib feat(desktop): inline model picker in the status bar 2026-06-02 19:09:41 -05:00
store Merge pull request #37738 from NousResearch/bb/statusbar-model-menu 2026-06-02 20:00:39 -05:00
themes Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00
types Merge pull request #37738 from NousResearch/bb/statusbar-model-menu 2026-06-02 20:00:39 -05:00
global.d.ts fix(desktop): triage batch of GUI quality-of-life fixes (#37536) 2026-06-02 16:33:22 -04:00
hermes.ts fix(desktop): keep pinned + recent sessions visible across compression 2026-06-02 07:12:05 -05:00
main.tsx fix(desktop): stabilize project folder sessions (#37586) 2026-06-02 20:23:09 +00:00
styles.css fix(desktop): stop chat scroll jumping by disabling native scroll anchoring 2026-06-02 23:08:01 -05:00
vite-env.d.ts Add Hermes desktop app (#20059) 2026-05-31 17:46:56 -05:00