anomalyco / anomalyco/opencode
[Bug] Cannot select/copy text in some web UI elements
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.