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 input hangs on Precessing when selecting the same file again #1782

Closed
9 tasks
ferdossi opened this issue Mar 15, 2022 · 8 comments
Closed
9 tasks

File input hangs on Precessing when selecting the same file again #1782

ferdossi opened this issue Mar 15, 2022 · 8 comments
Labels

Comments

@ferdossi
Copy link

ferdossi commented Mar 15, 2022

Prerequisites

  • [x ] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • [ x] The issue still exists against the latest master branch of bootstrap-fileinput.
  • [x ] This is not an usage question. I confirm having read the plugin documentation and demos.
  • [x ] This is not a general programming / coding question. (Those should be directed to the webtips Q & A forum).
  • [x ] I have attempted to find the simplest possible steps to reproduce the issue.
  • I have included a failing test as a pull request (Optional).

Steps to reproduce the issue

1.Use Advanced Example 8 file input component in the demo page https://plugins.krajee.com/file-input
2.Select a file but don't upload
3.Select the same file again, it hangs on "Precessing..."

Expected behavior and actual behavior

When I follow those steps, I see the precessing spinner never ending

I was expecting to have an error message saying the file is already selected

Environment

Browsers

  • [x ] Google Chrome - latest version
  • Mozilla Firefox
  • Internet Explorer
  • Safari

Operating System

  • [ x] Windows
  • Mac OS X
  • Linux
  • Mobile

Libraries

Isolating the problem

  • [ x] This bug happens on the plugin demos page
  • [x ] The bug happens consistently across all tested browsers
  • This bug happens when using bootstrap-fileinput without other plugins
  • I can reproduce this bug in a jsbin
@kartik-v
Copy link
Owner

Noting a CSS fix to be done for such an exception case.

@aghausman
Copy link

Has this been released yet?

@kartik-v
Copy link
Owner

Yes

@aghausman
Copy link

@kartik-v sorry mate I'm using 5.2.7 from npm and still having the same issue.

@ferdossi
Copy link
Author

Indeed, issue is still there on this page
https://plugins.krajee.com/file-avatar-upload-demo

@kartik-v
Copy link
Owner

Hi cannot reproduce the error. Can you check if its not a local browser caching issue at your end (clean up browser cache and restart and retry).

@ferdossi
Copy link
Author

ferdossi commented Aug 9, 2022

Hi, that is what I just did, tried in incognito mode, and I can reproduce it.

@ferdossi
Copy link
Author

Problem fixed, thanks

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