Skip to content

FilePicker not opening dialog on web for iOS #3710

Open
@victorbdn83

Description

@victorbdn83

Duplicate Check

Describe the bug

FilePicker is not opening the dialog to select a file when it's a web app and accessing it from iOS.
I'm testing this form an app I'm making and it works fine when I access the web app from an Android device or laptop, but not from an iPhone.
I thought it might be something with my code, but then I checked your controls gallery and I have the same issue, dialog is not opening if I try it from an iPhone (https://flet-controls-gallery.fly.dev/utility/filepicker)

I tried this with different browsers on the same iPhone (Safari, Chrome, Firefox and Qwant) and with a different iPhone, but I got the same issue.

I also tried setting the desktop mode on the browser, but same result.

Code sample

https://flet-controls-gallery.fly.dev/utility/filepicker

To reproduce

  1. Access the website https://flet-controls-gallery.fly.dev/utility/filepicker from an iPhone
  2. Try to pick a file

Expected behavior

Dialog to select a file for uploading should open

Screenshots / Videos

Screenshots / Video demonstration

[Upload media here]

RPReplay_Final1721253790.MP4

Operating System

macOS

Operating system details

iOS 17.5.1

Flet version

0.23.2

Regression

No, it isn't

Suggestions

No response

Logs

Logs
[Paste your logs here]

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcontrols

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions