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

[Feature Request] Eliminate 3-Second Delay Before Transfer Start #1030

Open
1 task done
btxtiger opened this issue Jan 1, 2025 · 3 comments
Open
1 task done

[Feature Request] Eliminate 3-Second Delay Before Transfer Start #1030

btxtiger opened this issue Jan 1, 2025 · 3 comments

Comments

@btxtiger
Copy link

btxtiger commented Jan 1, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

I’m using this library via Laravel Filament, but I believe the issue originates from this library.

When uploading a small file (e.g., 1KB), the process takes at least 7 seconds to complete, which is disproportionately long for such a small file. Logically, a file of this size should transfer almost instantly.

It is also visible in the gif from the readme:
filepond-animation-01

Problem

  • During the delay, the UI displays an "Uploading..." indicator, but the network tab in the debugger shows no request being initiated for the first 3 seconds.
  • This behavior introduces unnecessary friction, especially in systems where users rely on a fast, uninterrupted workflow (e.g., forms with daily or power-user workflows).

The delay is particularly frustrating for end-users who need to work efficiently. Removing or minimizing this delay would significantly improve usability and enhance the user experience.

Thank you for your attention to this issue! Let me know if further details or debugging information is required.

Describe the solution you'd like

Please consider eliminating the 3-second delay or providing an option to configure it for faster file transfer initiation.

Describe alternatives you've considered

@rikschennink
Copy link
Collaborator

FilePond simulates uploads of small files so it "feels" like something actually happened. But for large amounts of files this isn't ideal.

You can set allowMinimumUploadDuration to false to disable the upload simulation. Please note that because of how FilePond animates the UI it'll still take a bit before the upload starts as FilePond waits for the UI ot be in rest state.

See:
https://stackblitz.com/edit/github-trj6bqek-z4g4kzhk?file=index.html%3AL113

@btxtiger
Copy link
Author

btxtiger commented Jan 8, 2025

@rikschennink not sure why, but I'm seeing this in all browsers:
image

@rikschennink
Copy link
Collaborator

@btxtiger should be fixed now

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

2 participants