spatie / livewire-filepond

Upload files using Filepond in Livewire components
https://spatie.be/open-source
MIT License
232 stars 18 forks source link

[Bug]: No upload progress animation #12

Open l0gical opened 3 months ago

l0gical commented 3 months ago

What happened?

No uploading progress

How to reproduce the bug

Fresh install with no modifications

Package Version

1.1

PHP Version

8.2

Laravel Version

10.48

Which operating systems does with happen with?

No response

Notes

Hi all,

Is it me or does the uploading progress not work? Hoping I haven't missed something obvious. If using Filepond directly, apparently a v-bind:server="myServer" needs declaring, just cannot for the life of me think how to do that with using this through Livewire v3.

As always, thanks @Spatie for providing these libraries, sure saves everyone a lot of time building their own.

l0gical commented 3 months ago

Anyone? Really trying to fix this but coming up against a brick wall each time, unsure if this is my config, or if other users are having the same issue. Thanks in advance.

SfaygaTheKing commented 3 months ago

i also don't have the animation, i am using everything right : it works but the progression of the upload is not working.

l0gical commented 3 months ago

i also don't have the animation, i am using everything right : it works but the progression of the upload is not working.

For what it's worth, did some debugging with GPT, the backend side does in fact show the upload progress, is therefore likely either the UI part of it not updating or being able to reliably access the upload percentage. Once in every blue moon it partially works, typically with a file around 1-2MB and will only show the upload progress on the last 90% upwards, this is rare though, 99/100 times it doesn't show anything other than uploading and then complete.

riasvdv commented 1 month ago

I can't seem to reproduce this and the upload progress is shown correctly here. Are you using external storage like s3 for the temporary uploads?

l0gical commented 1 month ago

I can't seem to reproduce this and the upload progress is shown correctly here. Are you using external storage like s3 for the temporary uploads?

Hi, I have tried both local storage and S3 compatible, the backend code works as a listener outputting to the console shows the upload percentage correctly, I just cannot for the life of me get the widget to work correctly, it occasionally briefly displays but then not again for lots of uploads and only usually briefly displays at that, have tried with both tiny and large files.

Thx for the reply

boonstoppel commented 1 month ago

Same here. No upload progress.

Edit: For smaller files the progress is displayed OK. It's only for larger files that the progress indicator doesn't show for me.