Skip to content

[Bug report] Docsearch: shortcut is broken on mac #549

@warpdesign

Description

@warpdesign

Description

When visiting https://ecosystem.vuejs.press/plugins/search/docsearch.html on a mac, the search bar's placeholder is incorrect: Ctrl K

Image

Pressing Ctrl + K on a Mac does nothing. Pressing CMD + K doesn't do anything either.

If I click on the search bar, close the search overlay, then the placeholder turns into Cmd K and only then pressing cmd+k will work:

Image

Reproduction

https://ecosystem.vuejs.press/plugins/search/docsearch.html

Used Package Manager

npm

System Info

info 
  System:
    OS: macOS 15.5
    CPU: (10) arm64 Apple M1 Pro
    Memory: 88.61 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 23.4.0 - ~/.nvm/versions/node/v23.4.0/bin/node
    Yarn: Not Found
    npm: 11.4.2 - ~/.nvm/versions/node/v23.4.0/bin/npm
    pnpm: Not Found
    bun: 1.1.9 - ~/.bun/bin/bun
  Utilities:
    Git: 2.39.5 - /usr/bin/git
  Browsers:
    Chrome: 137.0.7151.122
    Edge: Not Found
    Safari: 18.5
  npmPackages:
    @vuepress/bundler-vite: 2.0.0-rc.20 => 2.0.0-rc.20 
    @vuepress/bundler-webpack: Not Found
    @vuepress/cli:  2.0.0-rc.20 
    @vuepress/client:  2.0.0-rc.20 
    @vuepress/core:  2.0.0-rc.20 
    @vuepress/markdown:  2.0.0-rc.20 
    @vuepress/shared:  2.0.0-rc.20 
    @vuepress/utils:  2.0.0-rc.20 
    vue:  3.5.13 
    vue-router:  4.5.0 
    vuepress: 2.0.0-rc.20 => 2.0.0-rc.20

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions