filament icon indicating copy to clipboard operation
filament copied to clipboard

Android bug for multiple file upload image

Open devope opened this issue 8 months ago • 6 comments

Package

filament/filament

Package Version

v3.3.13

Laravel Version

v11.44.7

Livewire Version

v3.6.3

PHP Version

v8.4.6

Problem description

After pressing "Select" to upload certain image nothing happens (no error too). Just nothing.

In logs I see that livewire getting null. Method multuple() is causing problem.

3 Android devices were tested. One of them: Samsung S21 FE (Android 14). On iOS and macOS, Windows everything is working.

Expected behavior

Image previews are shown (DB storing is not expected for testing this bug)

Steps to reproduce

Open Android phone Go to post creation http://filament-android-issue.devope.ru/admin/posts/create Upload multiple images at once

Reproduction repository (issue will be closed if this is not valid)

https://github.com/devope/filament-android-issue

Relevant log output

devope avatar Apr 26 '25 19:04 devope

Hey @devope! We're sorry to hear that you've hit this issue. 💛

However, it looks like you forgot to fill in the reproduction repository URL. Can you edit your original post and then we'll look at your issue?

We need a public GitHub repository which contains a Laravel app with the minimal amount of Filament code to reproduce the problem. Please do not link to your actual project, what we need instead is a minimal reproduction in a fresh project without any unnecessary code. This means it doesn't matter if your real project is private / confidential, since we want a link to a separate, isolated reproduction. That would allow us to download it and review your bug much easier, so it can be fixed quicker. Please make sure to include a database seeder with everything we need to set the app up quickly.

github-actions[bot] avatar Apr 27 '25 09:04 github-actions[bot]

Thank you for providing reproduction steps! Reopening the issue now.

github-actions[bot] avatar Apr 27 '25 09:04 github-actions[bot]

Can you please share the exact JS error you are getting on Android?

danharrin avatar Apr 27 '25 11:04 danharrin

I don't have access to Android device, so I can not provide errors

devope avatar Apr 27 '25 12:04 devope

You said

In logs I see that livewire getting null.

Where did you get that from?

danharrin avatar Apr 27 '25 12:04 danharrin

I did laravel logging, and noticed that null is returning.

devope avatar Apr 27 '25 16:04 devope

Looks like it is FilePond issue for some Android phones.

As example:

Mozilla/5.0 (Linux; Android 14; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.7204.179 Mobile Safari/537.36

Sorry for raising it as a Filament issue.

Update: actually even this doesn't work: <input type="file" multiple />.

devope avatar Aug 10 '25 16:08 devope