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

Dragging and dropping pictures does not work in last version of plugin. #1325

Closed
ruslan5t opened this issue Feb 3, 2016 · 7 comments
Closed
Labels

Comments

@ruslan5t
Copy link

ruslan5t commented Feb 3, 2016

Hello.

Dragging and dropping pictures does not work for me in chrome with last version of plugin.

Important: It is not usual dragging and dropping, it does not work only when you tries to move picture from one tab to another - you select picture, move to tab with input-uploader and drop picture on input - result - you get this error message:
TypeError: Cannot read property 'type' of undefined
at ng-file-upload.js:1321
at Object.forEach (angular.js:325)
at validateAsync (ng-file-upload.js:1318)
at upload.validate (ng-file-upload.js:1355)
at upload.updateModel (ng-file-upload.js:593)
at updateModel (ng-file-upload.js:1840)
at ng-file-upload.js:1797
at wrappedCallback (angular.js:11572)
at angular.js:11658
at Scope.$eval (angular.js:12701)

It works correct with version 10.0.0.

If you need an example, you can use your own - https://angular-file-upload.appspot.com/. And video for you - http://screencast.com/t/nodjQsLg

@danialfarid danialfarid added the bug label Feb 4, 2016
@danialfarid
Copy link
Owner

I believe this bug has been introduced recently, you can try to use older versions until it is fixed in the next version.

@ruslan5t
Copy link
Author

ruslan5t commented Feb 4, 2016

Thanks!
When do you think next version will be available?

@danialfarid
Copy link
Owner

ETA Less than a week

@danialfarid
Copy link
Owner

Fixed at 12.0.1

@ruslan5t
Copy link
Author

Thanks!

@OverZealous
Copy link

@ruslan5t Did this fix work for you? I'm seeing the same error with 12.0.1 when I drag an image from one tab to another.

@ruslan5t
Copy link
Author

@OverZealous You are right, I was too naive.
@danialfarid Can you please check your fix? It does not work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants