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

Drop deprecated lowercase events #583

Merged
merged 1 commit into from
Oct 28, 2021
Merged

Conversation

gilest
Copy link
Collaborator

@gilest gilest commented Oct 26, 2021

Since the main branch now targets v5 we may as well remove these.

Comment on lines -244 to -247
if (this.onDragLeave) {
this.onDragLeave(this.files, this.dataTransfer);
this.dataTransfer = null;
}
Copy link
Collaborator Author

@gilest gilest Oct 26, 2021

Choose a reason for hiding this comment

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

This is interesting – was possibly the source of bugs. The this.dataTransfer was not nullified if onDragLeave was falsy.

@gilest gilest requested a review from jelhan October 26, 2021 04:36
Copy link
Collaborator

@jelhan jelhan left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@gilest gilest merged commit a6b9f6c into master Oct 28, 2021
@gilest gilest deleted the chore/drop-deprecated-events branch October 28, 2021 09:40
@gilest gilest mentioned this pull request Oct 28, 2021
22 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants