Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bug: Tasks 'Control' input scrambles/drops keystrokes during fast typing in Chrome #25628

Description

@jasonwbarnett

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When typing quickly into the Control input on the Tasks page in Chrome, keystrokes appear out of order or are dropped. The text rendered in the input does not match what was typed — characters get rearranged, or some characters never appear at all. The faster the typing, the more noticeable the issue.

Relevant Log Output

Expected Behavior

Typed characters appear in the input in the order they were entered, regardless of typing speed.

Steps to Reproduce

  1. Open a Task in the Coder UI in Chrome.
  2. Click into the Control input.
  3. Type a sentence at a normal-to-fast pace.
  4. Observe that characters appear out of order or some are missing.

Environment

  • Host OS: macOS, Chrome
  • Coder version: latest as of 2026-05-19 (Coder Cloud)

Additional Context

Reported by a developer at Altana:

The "Control" box for Tasks doesn't work if you type fast on chrome and gets your keystrokes out of order.

Filed on behalf of the Altana DX team; tracking internally as DX-1089.

Possibly related: #23418 ("Textarea parameters lose characters during typing on Create Workspace page") described the same symptom on a different page, with a root cause of a fully controlled React input being overwritten by a stale WebSocket echo of the user's earlier value. The Tasks Control input may exhibit the same pattern on a different code path (the fix in #23418 was scoped to useSyncFormParameters / Create Workspace).

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions