You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Desktop] Session panel width animation costs ~0.24s of main-thread work per toggle #48701
Opening/closing the review panel, terminal or file tree animates the width of the chat panel and the side panel over 240ms (packages/app/src/pages/session.tsx and packages/app/src/pages/session/session-side-panel.tsx).
Measured in a real desktop instance (1.18.29, via CDP), per panel toggle:
layout: ~64ms
script: ~16ms
total main-thread task time: ~239ms
I also tried contain: layout paint and contain: layout on the panel: no measurable gain (the cost is inside the panel — content reflow plus the virtualized timeline re-measuring rows each frame).
Shortening the animation to 160ms cuts the work by ~25% (task 239ms → 181ms, layout 64ms → 45ms) while keeping the slide. A no-animation control comes in at ~32ms, but that changes the feel, so it is not proposed.
Plugins
none
OpenCode version
OpenCode Desktop 1.18.29
Steps to reproduce
Open a session with content
Toggle the review panel (or terminal/file tree)
Profile with DevTools Performance: layout runs every frame during the 240ms animation
Activity
thdxr commentedon Oct 11, 2026
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (
opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊