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
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.
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: