Comments (11)
Maybe even allow the possibility for it to be programmatically be instantiated as well. This would allow a button, for example, to open the search.
from kbar.
This would be great to have! Maybe we could use https://github.com/jamiebuilds/tinykeys to avoid having to parse the desired config? The default in that case would be $mod+K
from kbar.
Maybe even allow the possibility for it to be programmatically be instantiated as well. This would allow a button, for example, to open the search.
This can be done though query.toggle
: #118
from kbar.
Hey! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from kbar.
Hey! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from kbar.
Hi there! Was curious on the status of this issue. Is this still being actively worked on? Any way that I can plug in? I was wanting to use this in a project but Cmd+K conflicts with another shortcut we have.
from kbar.
Hey @mpalmisano! What shortcut does Cmd+K trigger on your site?
from kbar.
@timc1 Our doc editor has a Cmd+K feature to access editor specific shortcuts and tooling. I built a more general Cmd+K mostly navigation shortcut box using kbar. I could try to get them to change their shortcut but users are already used to it so I was thinking updating mine is better.
from kbar.
I don't know if anyone has seen this but Chrome on Windows now has a Ctrl-K shortcut on windows that opens a google search so the ability to configure or at least an example of how to disable the default binding is probably a good idea..
from kbar.
Tagging @timc1 here because I think the fact that Chromes new shortcut could break kbar is probably worth discussing.
from kbar.
Looks like there's enough of an ask for this – let's do it :-)
from kbar.
Related Issues (20)
- Key shortcuts not suppressed in elements with `plaintext-only` contenteditable HOT 1
- react 18 unmet peer dependencies HOT 5
- unable to input Chinese correctly HOT 8
- Dependency error with `react-virtual` HOT 12
- Any way to find out if the menu is open?
- No style HOT 3
- [question] Is it possible trigger useKBar hooks using AstroJS? HOT 1
- Search doesn't match last word when entry is coming from `useRegisterActions` HOT 6
- Feature: Adding Action options to prevent keyboard events from firing unintentionally HOT 1
- Performance bug: Keystrokes lost when typing fast in slow environments HOT 2
- Search doesn't clear when changing currentRootActionId in the latest version HOT 3
- Bug: Backspace keyboard event being received by pages HOT 2
- More control over the returned matches HOT 1
- useMatches rootActionId and results are out of sync HOT 1
- [Feature] Add property to optionally enable shortcuts on form fields HOT 1
- Documentation for parent elements and sub-search HOT 2
- Callback on perform, without replacing perform HOT 1
- button HOT 1
- Next.js 14 App router layout.tsx: Fails to spawn the command palette HOT 2
- Actions with parent proporty get added twice. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kbar.