docsearch
docsearch copied to clipboard
[Web]: after pressing cmd + k, docsearch will keep holding down cmd.
Description
after pressing cmd + k once, docsearch will keep holding down cmd
Steps to reproduce
-
press
cmd + kand close the search modal -
Press
cmd + F, which opens both the docsearch modal and the browser's search, with "f" appearing in the search input.
Live reproduction:
- https://vite.dev/
- https://vitepress.dev/
- https://rspack.rs/
- https://v2.rspress.rs/
Expected behavior
not keep holding down cmd
Environment
- OS: macOS
- Browser: Chrome
- DocSearch version: 4.3.2