Proper way to use cmdk and hotkeys together #200
Unanswered
Amirthananth
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to implement cmdk command palette along with some actions in the list to be executed on click. I also want to have hotkeys to work independently.. For instance, linear.app / intercom have this feature where we can just click the hotkey and the focus would be shifted or the intended action will be applied. The same action can be performed via command palette as well.
Not sure how to achieve the action via command palette(cmdk) when the components are deep down in the tree.. Couldn't find a proper example on the internet as well.
Sample cmdk code
Beta Was this translation helpful? Give feedback.
All reactions