Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can 'once' reset after key up? #89

Open
liquidvisual opened this issue Sep 15, 2019 · 3 comments
Open

Can 'once' reset after key up? #89

liquidvisual opened this issue Sep 15, 2019 · 3 comments
Labels

Comments

@liquidvisual
Copy link

liquidvisual commented Sep 15, 2019

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?

@fgr-araujo
Copy link
Owner

You're welcome!
This is a wrong behavior. I will mark this as a bug

@fgr-araujo fgr-araujo added the bug label Sep 17, 2019
@liquidvisual
Copy link
Author

Hi, I was just wondering if this bug has been fixed in the later versions?

@liquidvisual
Copy link
Author

Any word on this? :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants