kbar
kbar copied to clipboard
Feature: Adding Action options to prevent keyboard events from firing unintentionally
Hi @timc1,
First off - I love KBar! It's such a clever and easy to use package to add powerful navigation and keyboard shortcuts to a web experience!
I'm wondering if it would be possible to add some additional options to default keyboard event behavior. I've noticed that holding down a key - with the repeating behaviour on MacOs enabled - events will be performed in quick succession.
Adding something like this the Action options would be a great benefit to adding more control to KBar within a given project:
perform: () => {}
repeat: false,
// also maybe this if repeat is true
repeateDelay: 100 // ms, would throttle repetition
Thank you in advance, H