vue-shortkey icon indicating copy to clipboard operation
vue-shortkey copied to clipboard

[Feature Request] limit prevent to certain keys

Open mrwhy-orig opened this issue 6 years ago • 4 comments

It would be handy to be able to use the prevent function with a subset of keys.

For example, it could make sense to use F-Keys in input fields to change a focus or open a dialog etc.

mrwhy-orig avatar Jun 08 '18 08:06 mrwhy-orig

Great! I'll test them! thx so much

fgr-araujo avatar Jun 12 '18 11:06 fgr-araujo

@iFgR just stumbled upon this issue looking for the exact same capability. I just wanted to see if you had a chance to test and were planning on merging? Let us know if there is anything we can do to help! Thanks!

bradrydzewski avatar Nov 09 '18 23:11 bradrydzewski

I am happy to help to get this feature added :)

fuzzybaird avatar Jun 25 '19 06:06 fuzzybaird

+1 this is exactly what I need as well. The proposed idea of adding an except option would work perfectly for me, as I'd also like to be able to esc out of inputs/textareas.

bbeng89 avatar Dec 18 '20 17:12 bbeng89