Take a look at this example: https://jsfiddle.net/ngecpjb9/
Pressing the key N will select the next Vue component. However, if you are typing in an input field and press the key N, it still "selects" the next component. This behavior should be disabled when focused on an input
.
In my Vue application with a complex hierarchy of hundreds of components, I'm wondering if there is a standard pattern or library available for handling keyboard input separately among components?