You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upload 2 or more files, the sorting is based on which one uploads first rather than the visible sort order of the uploader.
This happens because FilePond core options default value of maxParallelUploads is 2.
filament-race-sorting.mp4
A simple work around would be allowing to change the maxParallelUploads to 1 and everything would work.
But ideally, we should allow maxParallelUploads to change to more than 1 and still resoect the upload order regardless which file uploads first.
Expected behavior
Select files to upload, order will show 1.svg first, then 2.svg and after upload for them to remain in the same order regardless which one is uploaded first.
Steps to reproduce
clone the reproduction repository
run php artisan migrate
run php artisan db:seed
Login and go to the http://localhost/admin/users/1/edit
Upload 2 or more files (with different file sizes helps reproduce more easily) and see the order change based on which on is uploaded first
Reproduction repository (issue will be closed if this is not valid)
Package
filament/filament
Package Version
v3.2.132
Laravel Version
v11.37.0
Livewire Version
v3.5.12
PHP Version
8.3.15
Problem description
Upload 2 or more files, the sorting is based on which one uploads first rather than the visible sort order of the uploader.
This happens because FilePond core options default value of
maxParallelUploads
is2
.filament-race-sorting.mp4
A simple work around would be allowing to change the
maxParallelUploads
to1
and everything would work.But ideally, we should allow
maxParallelUploads
to change to more than1
and still resoect the upload order regardless which file uploads first.Expected behavior
Select files to upload, order will show
1.svg
first, then2.svg
and after upload for them to remain in the same order regardless which one is uploaded first.Steps to reproduce
clone the reproduction repository
run
php artisan migrate
run
php artisan db:seed
Login and go to the http://localhost/admin/users/1/edit
Upload 2 or more files (with different file sizes helps reproduce more easily) and see the order change based on which on is uploaded first
Reproduction repository (issue will be closed if this is not valid)
https://github.com/angus-mcritchie/filament-image-race-sorting
Relevant log output
No response
The text was updated successfully, but these errors were encountered: