opencode/packages/ui
Luke Parker 4656bc5f29 fix(app): scroll the timeline with a wheel over the header, the jump button and the scrollbar
The session header, Jump to latest, the scrollbar's thumb and the desktop
window's drag area lie over the timeline, outside its scroll element. For a
wheel over them the browser goes by the layers it composites, not by the
element under the pointer: it scrolled the timeline while the rows were text,
and nothing once a row held a scroller of its own, such as a shell's output.
An upward wheel that moved nothing still stopped the timeline from following.

- handleOverWheel takes that wheel from the browser and scrolls the timeline
  by the wheel's distance, once. Its listener is not passive, so it is on
  those elements only: over the rows the browser still does not wait for the
  page.
- The thumb of ScrollView does the same for its viewport.
- A wheel with the control key zooms. It sends no intent and ends no seek.
- A wheel over a marked box that holds all of its content, or one at a
  scroller's limit, ends a seek as a wheel over the rows does.
2026-11-25 11:14:59 +10:00
..
perf refactor: run every benchmark with strobe (#60880) 2026-11-03 20:05:16 -06:00
script perf(ui): bake the activity spinner into a 90 fps APNG (#65693) 2026-11-23 03:39:19 +00:00
src fix(app): scroll the timeline with a wheel over the header, the jump button and the scrollbar 2026-11-25 11:14:59 +10:00
test chore: bump Bun to 1.4.4 (#58087) 2026-10-22 21:34:15 +10:00
.gitignore Use devinxi-ed Solid Start (#4635) 2025-11-22 10:39:25 -05:00
AGENTS.md fix(app): keep the timeline still when a focused row scrolls out of range (#65921) 2026-11-23 17:48:02 -06:00
bunfig.toml chore: bump Bun to 1.4.4 (#58087) 2026-10-22 21:34:15 +10:00
LICENSE feat(ui): publish ui package (#33681) 2026-06-25 14:04:49 +02:00
package.json fix(app): stop following when the reader scrolls up by any input 2026-11-25 02:46:51 +10:00
tsconfig.build.json core: prevent UI imports compiling TSX source 2026-06-26 10:25:48 +02:00
tsconfig.json chore: enable noUnusedLocals in already-clean packages (#52849) 2026-10-02 15:23:50 -07:00
vite.config.ts chore(app): autofix readable spacing in GUI packages (#53444) 2026-10-06 09:10:06 +10:00