Skip to content

Copy to clipboard button for code blocks in doesn't work when opened in localhost web #32664

Closed as not planned

Description

@radiorambo

Description

Copy to clipboard button for code blocks is not working in opencode web local host url in browser. But the whole response copy to clipboard button is working as expected, but not for code blocks inside it.

  • I checked same in opencode desktop app and it works there as expected.
  • I checked same in multiple browsers, code blocks copy button not working

Plugins

No response

OpenCode version

OpenCode Desktop v1.17.6

Steps to reproduce

  1. Generate a response from any llm
  2. Try to copy any code block using its copy button

Screenshot and/or share link

No response

Operating System

arch linux

Terminal

Ghostty

Activity

  1. github-actions commented on Jun 17, 2026

    @github-actions
    Contributor

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

    If your issue is specifically about localhost (which should be a secure context), it may be a distinct bug worth keeping open — please clarify in a comment whether you are accessing via http://localhost or via a LAN/network IP.

  2. added a commit that references this issue on Jun 18, 2026
    ce38163
  3. github-actions commented on Aug 17, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions