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

File can't be reselected after removing from the queue (Chrome, IE) #295

Closed
sbagriantsev opened this issue Nov 7, 2014 · 7 comments
Closed

Comments

@sbagriantsev
Copy link

Hello,

There seems to be an issue with reselecting same files in Chrome and IE browsers.

Steps to reproduce:

  1. Go to http://nervgh.github.io/pages/angular-file-upload/examples/simple/
  2. Select file with Single select.
  3. Remove it from the queue using remove button
  4. Try to select the same file once again.

Result: File is not added to the queue.
Expected result: File is added to the queue.
Browsers: Chrome Version 38, IE 11

If to add another file and then try initial file one more time it works, but this is not correct user experience.

Issue is not reproducible in Firefox.

Sorry if this is a duplicate.

Thanks,
Stanislav

@rboughani
Copy link

yes, you're right, it dosn't add them, but i think thats you must to clean queue in onCompleteItem callback, because in this example it dont exist, i'm not sur !!

@rboughani
Copy link

@sbagriantsev
Copy link
Author

@darkmanAmazigh thanks for the answer, but example you mentioned uses multiple files uploader. It works on the first example as well.
I think it is possible to use multiple file uploader and limit queue to 1 item but this is a workaround.

Single file uploader has different behavior across different browsers so the question is still open.

@maiamachine
Copy link

I am having this issues as well. Thank you for the suggested workaround of using multiple uploader with queue limit to one @sbagriantsev

@raoulus
Copy link

raoulus commented Feb 16, 2015

I created a pull request for this, #357

@woaichiji
Copy link

use fileuploader.clearQueue();

@nervgh
Copy link
Owner

nervgh commented Oct 27, 2015

@nervgh nervgh closed this as completed Oct 27, 2015
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

6 participants