Comments (12)
Yeah, but not on Mac OS. Anyways, thanks for your help @timc1 and this awesome tool 🙌🏽
from kbar.
CTRL + K works well, menu could be opened and closed, but the shortcuts like "h for home" are not working, just nothing happens.
Will need to do some testing with Windows/Linux – will follow up here. If you can, let me know what browser/version you're using would be helpful 👍
from kbar.
Testing this behavior through a Windows device, switching between h and d looks to work fine:
Kapture.2021-09-16.at.09.36.53.mp4
from kbar.
@timc1 Hey, I have MS Edge 93.
KBar.command+k.interface.for.your.site.i.jeszcze.1.strona.Osobisty.Microsoft.Edge.2021-09-20.16-25-44.mp4
from kbar.
Oh, now I see. I thought the shortcuts are working with opened menu, but they are working only if menu is closed.
from kbar.
Oh yes, that is one point of confusion I'm sure others may face. Will keep in mind when determining how to move forward with these shortcuts 👍
from kbar.
This is an interesting one 😉 @timc1 I've now discovered that on Ubuntu (20.04 + Chrome) it overrides default behavior. For instance, I've got C
configured as a shortcut. On Mac, pressing only C
executes configured KBar operation, whereas on Linux it hijacks Ctrl+C which is obviously used for copying. Is it an expected behavior, or how can I make it so that on Linux it behaves like on Mac, just pressing shortcut would do its thing.
from kbar.
Hey @assimovt! So if I'm understanding correctly, pressing c
on a Mac works as expected, but on Linux it's rather running ctrl
+c
? I've never come across this, but as a first step would mapping c
to another key; i.e. d
be a quick fix?
from kbar.
Yeah, that'd have been my "solution" as well, but then I was worried it hijacks all other keys, like Ctrl+o
, etc. This is what I found and I think it's how the clipboard is handled in Unbuntu, but I am not sure:
Basically, if I Ctrl+C
on a "textA", then do it again for the same text, my guess is that Ctrl
is no longer triggered by the OS and it treats it as just C
. I hope I've expressed myself clearly. In that case, yeah, it'd be just easier to remap it.
Maybe #55 would have helped in such cases.
from kbar.
Basically, if I Ctrl+C on a "textA", then do it again for the same text, my guess is that Ctrl is no longer triggered by the OS and it treats it as just C
That's default behavior across OSes yeah? I suppose if you're doing ctrl+c and subsequently hitting c without lifting ctrl that's what would happen.
from kbar.
In Windows on Chrome, Ctrl + K focuses the address bar. I am unable to open kbar search. Maybe this is due to a Chrome update. I might open a new issue.
from kbar.
@austincondiff Try Ctrl + windows + k as a workaround
from kbar.
Related Issues (20)
- KBar not working on chrome
- Plans to port it to appDir? HOT 2
- rowVirtualiser is setting the height a little bit short HOT 2
- 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 1
- Callback on perform, without replacing perform 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.