vue-shortkey
vue-shortkey copied to clipboard
Can 'once' reset after key up?
First of all, great library - thanks for making this!
I'm looking through the docs and was under the impression that v-shortkey.once would only fire the command once with every key press (instead of repeatedly firing while holding down the keys). Instead it appears to fire strictly one time only - you need to refresh the browser to reset it.
What would be the use case for this? I'm thinking triggering an action once every key press and resetting on release would be far more useful? Is there a way to achieve that with the current library?
You're welcome! This is a wrong behavior. I will mark this as a bug
Hi, I was just wondering if this bug has been fixed in the later versions?
Any word on this? :(