flet-dev / flet-dev/flet

FilePicker not opening dialog on web for iOS

Open
#3,710 7 comments 1 reaction 1 assignee View on GitHub

@FeodorFitsner is already working on this.

Since Aug 28, 2026.

bug controls
Dominant language
Python
Stars
17k
Forks
694
Avg merge
1d 14h
Merged PRs (30d)
33

Description

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]

https://github.com/user-attachments/assets/9d58b299-1fb4-472d-a78c-ff9c244c439a

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.