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

Solution for dragEnter and dragLeave being fired on child elements #9

Closed
wants to merge 1 commit into from
Closed

Conversation

IsAvaible
Copy link

This is a solution for Issue 6, that works by keeping track of the number of times dragEnter and dragLeave were fired, and only dispatches an event when the counter reaches zero (implementing https://stackoverflow.com/a/21002544).

This is a solution for [issue 6](#6), that works by keeping track of the number of times dragEnter and dragLeave were fired, and only dispatches an event when the counter reaches zero (implementing https://stackoverflow.com/a/21002544).
@IsAvaible
Copy link
Author

Accidentally wrote and ( && ) instead of or ( || ), closing this pull request.

@IsAvaible IsAvaible closed this May 22, 2022
@IsAvaible IsAvaible deleted the patch-1 branch May 22, 2022 08:49
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.

1 participant