Dropdown: Prevent show of overlay when pressing meta key #2886
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the feature you would like to see added
From within the before-show event have the ability to prevent the options overlay from being shown. My use case is that I want the user to be able to 'save' my form by pressing the Ctrl-s key combination. If a Dropdown is in focus when the user performs this action I don't want the overlay to be displayed.
Is your feature request related to a problem?
No response
Describe the solution you'd like
I don't know if there is a pattern for handling this type of scenario but using the Vue-router onBeforeRouteLeave as an example maybe if the boolean false is returned from the before-show event then this will cancel / prevent the options overlay from being shown.
Describe alternatives you have considered
I don't know of any workaround.
Additional context
No response
The text was updated successfully, but these errors were encountered: