-
Notifications
You must be signed in to change notification settings - Fork 94
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
Prevent the file picker from triggering when a child element has a click event #119
Comments
i have this issue too.. |
I have tested this issue in my own application - everything seems to be working fine with
placed on the child component of |
i have this issue too |
I bind on |
For the ones that |
Currently when there are children with onClick events, clicking on those child elements will cause the FileUploader component to open the file picker. Using
event.stopPropagation()
orevent.stopImmediatePropagation()
in the child onClick event does not stop the event from triggering.Example:
The text was updated successfully, but these errors were encountered: