onClickOutside: Option to use mousedown event #3911
Labels
direction: approved
The direction of feature/change is approved by the team. May require some small changes.
enhancement
New feature or request
vue: upstream
Clear and concise description of the problem
As a developer using
onClickOutside
function I want trigger the listener earlier. Common actions such as clicking outside to close, are being prevented from happening when you press down outside to perform another action, such as resizing or drag and drop.I'm willing to submit a PR for the issue.
Suggested solution
In
OnClickOutsideOptions
we could have an option to call the listener on theclick
ormousedown
event.Alternative
Having an
onMouseDownOutside
function.Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: