Skip to content

bug: Claude Code Web module - textarea doesn't accept keyboard input #19267

@devtechwebsource

Description

@devtechwebsource

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The Claude Code Web interface in Coder loads successfully and authentication works, but the textarea element doesn't accept ANY keyboard input - neither text nor Enter key.

What happens:

  • Claude Code Web interface loads correctly in Coder
  • Authentication succeeds with Claude Pro account
  • The textarea element exists in the DOM
  • Typing on keyboard produces no input in the text field
  • Cannot press Enter to send messages
  • No keyboard input is captured at all
  • The "Control" button works for commands, but "Text" mode doesn't accept any keyboard input

Workaround:
Messages can only be sent via browser console injection:
const ta = document.querySelectorAll('textarea')[0];
ta.value = "message";
ta.dispatchEvent(new Event('input', { bubbles: true }));
ta.dispatchEvent(new KeyboardEvent('keydown', { key: 'Enter', bubbles: true }));

This successfully sends adds text to the interface

Relevant Log Output

+ /home/coder/.claude-module/scripts/agentapi-wait-for-start.sh
+ nohup /home/coder/.claude-module/scripts/agentapi-start.sh use_prompt
Waiting for agentapi server to start on port 3284...
agentapi response received (3/3)
agentapi server started on port 3284.

Expected Behavior

Should be able to type normally in the textarea when "Text" mode is selected. Keyboard input should appear in the text field and allow normal interaction with Claude.

Steps to Reproduce

  1. Deploy Coder workspace with claude-code module v2.0.6
  2. Add coder-login module for authentication
  3. Authenticate with Claude Pro/Max account (not API key)
  4. Open Claude Code Web interface
  5. Click "Text" mode
  6. Try to type - no characters appear in textarea

Environment

Ubuntu 25.04
Coder v2.25.1

Additional Context

I have tested this on the latest version

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIssue that require triage

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions