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

Event leave sometimes is called when I start dragging file #14

Open
mitchenkod opened this issue Oct 14, 2016 · 0 comments
Open

Event leave sometimes is called when I start dragging file #14

mitchenkod opened this issue Oct 14, 2016 · 0 comments

Comments

@mitchenkod
Copy link

mitchenkod commented Oct 14, 2016

Hello!

I am using dragster and have noticed a weird thing. I have dragster binded on the body tag and I need to show a shadow on the full browser window, when I am dragging in some files. And after drop or dragging files out I need to hide it. But, sometimes when I take file and dragging them in the window, the event drag leave is called. It looks like a blink of shadow, after I start dragging in something.

Here is, how it happens on the project demo page - I've just took a file and dragged it in the drop zone, then I've made a screenshot. You see, that not only drag enter event is called, but drag enter and drag leave and then drag enter again.
Chrome and Mozilla browsers.

Do you have any idea how to solve it? Thanks.

rsz_1drugster_bug

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

1 participant