Skip to content

[Bug]: Enter does not send with an inactive right-panel keybinding #37197

Closed

Description

@StiensWout

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Set Send to Enter.
  2. Save this keybinding rule: [{"key":"enter","command":"commandPalette.toggle","when":"!rightPanelOpen"}].
  3. Open an existing thread and open its right panel.
  4. Focus the composer, type a message, and press Enter.

Expected behavior

The competing binding is inactive while the right panel is open, so Enter sends the message.

Actual behavior

The message remains in the composer and the command palette stays closed. The composer resolves shortcuts without the current panel state, while the app shortcut listener resolves against the actual open panel.

Impact

Minor bug or occasional failure

Version or commit

Reproduced on main at 8897a6e.

Environment

Web client, Chromium, Linux. Provider independent; reproduced through the free development Replay provider.

Logs or stack traces

A focused browser test dispatches no message on base. A real-server scenario fails on base and passes with the composer using ChatView's shortcut context.

Screenshots, recordings, or supporting files

Before: https://pub-b182a4071edc4521829926b34990540b.r2.dev/files/4a07bab4-dbb2-4d17-8161-b4fef34f5094/panel-conditioned-enter-base.png
After: https://pub-b182a4071edc4521829926b34990540b.r2.dev/files/08f87792-7665-4b48-a953-91f0d9941e33/panel-conditioned-enter-head.png

Workaround

Remove the conditional Enter binding or use the send button.

Activity

  1. added
    vouch:trusted
    on Nov 15, 2026
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

    vouch:trusted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions