anomalyco / anomalyco/opencode

[Bug] Cannot select/copy text in some web UI elements

Open
#47,717 1 comment 0 reactions 1 assignee View on GitHub

@Brendonovich is already working on this.

Since Sep 7, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

Description
In the OpenCode web interface (opened via opencode web at http://127.0.0.1:4096/), I cannot select and copy text in certain response elements. The text simply won't highlight with the mouse — this looks like user-select: none in the CSS.

The problematic elements (found via DevTools):

Assistant answer block:


Tool subtitle:
Regular text elsewhere in the UI selects and copies fine.

Expected behavior
Any text in responses should be selectable and copyable with the mouse (Ctrl+C).

Actual behavior
In the elements above, the text cannot be selected or copied.

Environment
OpenCode Web (opencode web)
URL: 127.0.0.1:4096

Browser: Chrome / Firefox (specify)
Note
This may be the same class of issue as the previously fixed case for question-option (user-select: none), see PR #39868. It appears user-select: none is also applied to answer-text and basic-tool-tool-subtitle.

Plugins

No response

OpenCode version

v1.18.29

Steps to reproduce

Run opencode web and open http://127.0.0.1:4096/.
Open a session with an assistant response.
Try to select text inside the data-slot="answer-text" block.
The text is not selected / not copied.

Screenshot and/or share link

No response

Operating System

OS: Linux (Ubuntu)

Terminal

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.