miguelpruivo/flutter_file_picker

Select file UI sometimes broke in iOS

minhnguyenandpad opened this issue · 2 comments

Describe the bug

While using the file_picker to select and upload data, the process generally works smoothly. However, in certain instances, the user interface for file selection UI to be broken, particularly when tested on a real device.

Platform

  • Android
  • iOS
  • Web
  • Desktop

Platform OS version
iOS 17.1.3

How are you picking?

 final result = await FilePicker.platform.pickFiles(
        allowedExtensions: allowedExtensions,
        type: Platform.isAndroid ? FileType.any : FileType.custom,
        allowMultiple: true,
      );

Details to reproduce the issue

  1. Select icon to open file_picker
  2. Select files UI show
  3. Select files and press done
  4. File uploaded
  5. Select icon to open file_picker
  6. Select files UI broken show.

Error Log

Screenshots and/or video

Broken UI Broken UI

Flutter Version details
[✓] Flutter (Channel stable, 3.16.0, on macOS 14.2 23C64 darwin-arm64, locale en-JP)
• Flutter version 3.16.0 on channel stable at
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision db7ef5bf9f (8 weeks ago), 2023-11-15 11:25:44 -0800
• Engine revision 74d16627b9
• Dart version 3.2.0
• DevTools version 2.28.2

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
• Android SDK at
• Platform android-34, build-tools 32.1.0-rc1
• ANDROID_HOME =
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15C65
• CocoaPods version 1.13.0

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.66.2)
• Flutter extension version 3.40.0

[✓] Connected device (3 available)
• macOS (desktop) • macos • darwin-arm64 • macOS 14.2 23C64 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 120.0.6099.199

[✓] Network resources
• All expected network resources are available.

• No issues found!

Additional context
Add any other context about the problem here.

This issue is stale because it has been open for 14 days with no activity.

This issue was closed because it has been inactive for 14 days since being marked as stale.