mirror of
https://github.com/openai/codex.git
synced 2026-11-18 22:20:48 +00:00
## Why Rapid wheel input can trigger a synchronous transcript redraw for each tick, even when the current layout can still be used. ## What changed Accumulate wheel movement in the main transcript and side panes until the next frame when the rendered layout is safe to reuse. Refresh first when the transcript has changed, cached content can change height, or the side pane has buffered reply text. Refresh immediately when toggling side-pane zoom so subsequent mouse events use the new layout. Start composer scrolling from the caret-adjusted viewport after an edit so wheel ticks can accumulate before the next frame. ## Testing Cover wheel bursts while the plan menu is open, composer scrolling after edits, refresh requirements for mutable history and buffered side replies, and immediate layout updates when toggling side-pane zoom. GitOrigin-RevId: 342d4d4c014d8a41b2e690b91622197ee97fc059