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

Over Event on children tags #5

Open
MoiseScalzo opened this issue Apr 18, 2019 · 2 comments
Open

Over Event on children tags #5

MoiseScalzo opened this issue Apr 18, 2019 · 2 comments

Comments

@MoiseScalzo
Copy link

MoiseScalzo commented Apr 18, 2019

I noticed an issue about the event over on dropZone.
The event is fired when the mouse is over the tag with dropZone as id but is refreshed each time you overing any of his children like buttons or others <div>.

Moreover it seems that there isn't any stoPropagation on the event, so the class toggle continue untile the queue end.

This cause spam when, for example, there are animations effects on over.

Thank you for your job :)

@MoiseScalzo MoiseScalzo changed the title Over Event Children Over Event Children tags Apr 18, 2019
@MoiseScalzo MoiseScalzo changed the title Over Event Children tags Over Event on children tags Apr 18, 2019
@vugar005
Copy link
Owner

Hi @MoiseScalzo
You could please provide more detail about event. Which event is triggered? Since I did not notice any class toggles.

@MoiseScalzo
Copy link
Author

I @vugar005 thank you for your answer and sorry for the description lack in my question.
The classToggle that i'm talking about is the one you have when you drag a file on the dropZone. (see attached screenshot).

The problem is that each time you move the mouse inside the #dropZone element, the over class is toggled. Seems that some stopPropagation or queue management is missed.

drag-over

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

No branches or pull requests

2 participants