kbar
kbar copied to clipboard
fast, portable, and extensible cmd+k interface for your site
Currently when `kbar` is opened and you press section shortcut - section will be opened and closed then. This changes will fix it, by checking if kbar `isShowing` when shortcut...
**This is how my component looks and I am using chrome commands API to listen to event** ``` function ToggleKBar() { const { query, options, visualState, showing } = useKBar((state)...
Hi, I stumbled upon an apparent memory leak in the `useRegisterActions` hook. ### Step to reproduce: Open this codeSandbox: https://codesandbox.io/s/compassionate-mirzakhani-mg3wgc?file=/src/App.js From the view here: https://mg3wgc.csb.app/ By inspecting the browser memory...
If a page renders an `` tag that uses `autofocus` kbar will steal the focus away. Some example code below and a [CodeSandbox](https://codesandbox.io/s/elastic-shape-e50zy?file=/src/App.js) replicating this issue. ```jsx import { KBarProvider,...
We are an [open source](https://github.com/omnivore-app/omnivore) read-it-later app. We've just started using kbar for our command palette.
Thanks for the great work! Just happened to have the need to pass some supplementary properties to `Action` to direct rendering results. Seeing that #212 is also stating the same...
In reference to #224
Currently when passing a `defaultPlaceholder` prop to `` it will also spread that prop onto the input element, resulting in the following warning: ``` react-dom.development.js:67 Warning: React does not recognize...
As a user I'd like to pass some additional commands to an action, for example: - `rename something` The matching Actions will receive an extra property: `argv`, this can be...
I'd like to add some actions based on user's query input. Example: 1. User starts typing in “tesl”. 2. Kbar renders “tesla.com” and “twitter.com/tesla”. This can be whatever the developer...