The session with HTML inside doesn’t render when I switch to it (shared session attached) #2528

Closed
opened 2026-02-16 17:36:06 -05:00 by yindo · 3 comments
Owner

Originally created by @istarkov on GitHub (Nov 3, 2025).

Originally assigned to: @kommander on GitHub.

Description

This session doesn’t render in the terminal. See attached shared session.

Seems like scroll issue, like scroll position is out of content. If I scroll up I see the content

disabling any of this params, fixes the issue

https://github.com/sst/opencode/blob/93e52f7ecfd8267038fba0e859c347740e3c260b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx#L529-L530

OpenCode version

1.0.15

Steps to reproduce

See attached session https://opencode.ai/s/t0taTOMH
Just asked to output few html files.

Screenshot and/or share link

https://opencode.ai/s/t0taTOMH

Image

Screenshot from the video (it starts to render)

Image

Operating System

macos

Terminal

iterm2

Originally created by @istarkov on GitHub (Nov 3, 2025). Originally assigned to: @kommander on GitHub. ### Description This session doesn’t render in the terminal. See attached shared session. Seems like scroll issue, like scroll position is out of content. If I scroll up I see the content disabling any of this params, fixes the issue https://github.com/sst/opencode/blob/93e52f7ecfd8267038fba0e859c347740e3c260b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx#L529-L530 ### OpenCode version 1.0.15 ### Steps to reproduce See attached session https://opencode.ai/s/t0taTOMH Just asked to output few html files. ### Screenshot and/or share link https://opencode.ai/s/t0taTOMH ![Image](https://github.com/user-attachments/assets/98129ca7-0ae1-4b60-bba4-87aa71cada35) Screenshot from the video (it starts to render) <img width="716" height="333" alt="Image" src="https://github.com/user-attachments/assets/35b47893-bdfe-46df-8124-34e3fa0b003c" /> ### Operating System macos ### Terminal iterm2
yindo added the opentuibug labels 2026-02-16 17:36:06 -05:00
yindo closed this issue 2026-02-16 17:36:06 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 3, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #3776: Screen becomes completely blank - similar rendering issue where content disappears in terminal
  • #3719: Session flickering/blank when returning to it - related blank session display problem
  • #3751: Missing md formatting after upgrade to v1.0.x - content rendering issues in v1.0.x versions
  • #3697: Missing main view text when resizing - missing text/content display in main view

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 3, 2025): This issue might be a duplicate of existing issues. Please check: - #3776: Screen becomes completely blank - similar rendering issue where content disappears in terminal - #3719: Session flickering/blank when returning to it - related blank session display problem - #3751: Missing md formatting after upgrade to v1.0.x - content rendering issues in v1.0.x versions - #3697: Missing main view text when resizing - missing text/content display in main view Feel free to ignore if none of these address your specific case.
Author
Owner

@istarkov commented on GitHub (Nov 3, 2025):

Investigating....

Scroll 99%. This also partially fixes the issue, except blocks after html are not rendered sometimes

  createEffect(() => {
    const currentSessionID = route.sessionID

    setTimeout(() => {
      scroll.scrollTo(0)
    }, 500)

    setTimeout(() => {
      scroll.scrollTo(scroll.scrollHeight)
    }, 1500)
  })
@istarkov commented on GitHub (Nov 3, 2025): Investigating.... Scroll 99%. This also partially fixes the issue, except blocks after html are not rendered sometimes ``` createEffect(() => { const currentSessionID = route.sessionID setTimeout(() => { scroll.scrollTo(0) }, 500) setTimeout(() => { scroll.scrollTo(scroll.scrollHeight) }, 1500) }) ```
Author
Owner

@istarkov commented on GitHub (Nov 4, 2025):

Fixed in dev branch

@istarkov commented on GitHub (Nov 4, 2025): Fixed in dev branch
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2528