You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a custom component which needs to switch to a "closed" state when ESC is pressed. However, I want to make sure that it does not close if there's an open v-dialog or v-menu (or other Vuetify components reacting to ESC). Essentially, I want to make sure my component only reacts to ESC if no other component did.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a custom component which needs to switch to a "closed" state when ESC is pressed. However, I want to make sure that it does not close if there's an open v-dialog or v-menu (or other Vuetify components reacting to ESC). Essentially, I want to make sure my component only reacts to ESC if no other component did.
Any implementation ideas?
Beta Was this translation helpful? Give feedback.
All reactions