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

drag and drop onchange now triggers more than once with the same file name #52

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

shaselton-usds
Copy link
Collaborator

Clearing out the event target's value allows for the onChange event handler to be triggered multiple times when the file name is the same.

Copy link
Collaborator

@mint-thompson mint-thompson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worked for me in Edge, Firefox, and Chrome. Thank you!

@shaselton-usds shaselton-usds merged commit 31da02b into main Nov 25, 2024
4 checks passed
@eoverly
Copy link
Collaborator

eoverly commented Nov 26, 2024

Works for me in Safari and Brave. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants