T
T
tenaro2022-01-13 02:19:09
JavaScript
tenaro, 2022-01-13 02:19:09

Vue.js / how to handle hotkeys based on shown component order?

the project has different pop-ups that pop up on top of the notification, exit side panels, etc., which can be layered one on top of the other

, you need to close them one by one by pressing esc, depending on which component is considered active at the moment, by default - the one that got out on the screen last, or the one where the user does something (fills out a form for example)

tell me the appropriate libraries that will take into account the order of the displayed elements

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question