ngx-awesome-uploader icon indicating copy to clipboard operation
ngx-awesome-uploader copied to clipboard

Over Event on children tags

Open MoiseScalzo opened this issue 6 years ago • 2 comments

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 avatar Apr 18 '19 15:04 MoiseScalzo

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

vugar005 avatar Apr 20 '19 11:04 vugar005

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

MoiseScalzo avatar Apr 23 '19 08:04 MoiseScalzo