Skip to content

CTRL + K does not work on Windows (CopilotTextarea and potentially others) #400

Closed

Description

@arielweinberger

Bug Report

Describe the bug
In <CopilotTextarea>, cmd + k works on a Mac to bring up the popover. However, on Windows, ctrl + k does not.
This could potentially be the case in other places where we use keyboard shortcuts.

To Reproduce
Steps to reproduce the behavior (the easier it is to replicate, the sooner it will get fixed):

  1. On a Windows machine, go to https://crm-demo-delta.vercel.app/
  2. Focus on the textarea field
  3. Type ctrl + k to open up the CopilotKit popover

Expected: The popover opens as it does on a Mac when using cmd + k.
Actual: Nothing happens

Potential Solution

We might want to look into dedicated shortcut handling libraries for JS/React that handle cross-platform key mapping differences. We need to make sure it's fixed in other places that keyboard shortcuts.

Activity

  1. added
    bug
    on Jun 24, 2024
  2. changed the title [-]CTRL + K does not work on Windows (CopilotTextarae and potentially others)[/-] [+]CTRL + K does not work on Windows (`CopilotTextarea` and potentially others)[/+] on Jun 24, 2024
  3. kachurun commented on Jun 9, 2025

    @kachurun
    Contributor

    It was fixed guys

  4. added a commit that references this issue on Feb 8, 2026
    9100d23
  5. added a commit that references this issue on Feb 16, 2026
    82bfd06
  6. Aboudjem commented on Mar 11, 2026

    @Aboudjem

    curious about the CTRL+K behavior here - on Windows the default browser shortcut for the address bar probably conflicts. is the idea to intercept it before the browser does, or to pick a different default binding for Windows? I've dealt with similar keybinding conflicts in electron apps and the usual fix is platform detection in the keydown handler

  7. jpr5 commented on Apr 12, 2026

    @jpr5
    Contributor

    CTRL+K keybinding on Windows was confirmed fixed by a contributor in the comments. Closing this out.

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

    buggood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions