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

change event not triggered on drag & drop #163

Open
tstamac opened this issue Nov 27, 2020 · 0 comments
Open

change event not triggered on drag & drop #163

tstamac opened this issue Nov 27, 2020 · 0 comments

Comments

@tstamac
Copy link

tstamac commented Nov 27, 2020

When you drag and drop files to the component change event is not fired.
Tried on Chrome and Firefox.

in

on('drop', 

after (line 316)

   $('[name="filedrag"]').css('z-index', '-1'); 

there should be

   _self.options.onChange(files);

This doesn't check if files dropped are actually different from previous state, but at least it fires the event.

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