Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onClickOutside: Option to use mousedown event #3911

Open
4 tasks done
anjoseb121 opened this issue Apr 5, 2024 · 0 comments
Open
4 tasks done

onClickOutside: Option to use mousedown event #3911

anjoseb121 opened this issue Apr 5, 2024 · 0 comments
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

Comments

@anjoseb121
Copy link

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 the click or mousedown event.

Alternative

Having an onMouseDownOutside function.

Additional context

No response

Validations

@anjoseb121 anjoseb121 added the enhancement New feature or request label Apr 5, 2024
@dosubot dosubot bot added direction: approved The direction of feature/change is approved by the team. May require some small changes. vue: upstream labels Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant