Skip to content

[iOS] Scaffold resizes when you come from an app with the keyboard open #55624

@josh-burton

Description

@josh-burton

This issue was originally reported here:

#43804
#41679

And fixed here:

flutter/engine#16270

Although the issue is still not fixed.

Attached are 2 videos showing the bug present with the Flutter Gallery, and the flutter create bug app.

flicker-bug.zip

Steps to Reproduce

  1. Run flutter create bug.
  2. Open the flutter app
  3. Open another app and open the keyboard (focus a text field)
  4. Using the app switcher, switch back to the Flutter app

Expected results: The app resumes

Actual results: The app resumes, but quickly resizes to avoid the keyboard, then resizes again causing a flicker.

➜ flutter doctor -v
[✓] Flutter (Channel dev, v1.18.0-8.0.pre, on Mac OS X 10.15.4 19E287, locale en-AU)
    • Flutter version 1.18.0-8.0.pre at /Users/athor/dev/flutter
    • Framework revision e0c63cd35e (27 hours ago), 2020-04-23 22:29:01 -0400
    • Engine revision d2ec21221e
    • Dart version 2.9.0 (build 2.9.0-3.0.dev b0d35855d8)

 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/athor/dev/android-sdk
    • Platform android-R, build-tools 29.0.3
    • ANDROID_HOME = /Users/athor/dev/android-sdk
    • Java binary at: /Users/athor/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-2/192.6392135/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4.1, Build version 11E503a
    • CocoaPods version 1.8.4

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

[!] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio 3.2.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    • Dart plugin version 182.5124
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] Android Studio (version 3.6)
    • Android Studio at /Users/athor/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-2/192.6392135/Android Studio.app/Contents
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Android Studio
    • Android Studio at /Users/athor/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/193.6401094/Android Studio 4.0 Preview.app/Contents
    • Flutter plugin version 44.0.3
    • Dart plugin version 193.6494.35
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[!] Android Studio
    • Android Studio at /Users/athor/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6401718/Android Studio 4.1 Preview.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] IntelliJ IDEA Ultimate Edition (version 2020.1)
    • IntelliJ at /Users/athor/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 46.0.3-dev.1
    • Dart plugin version 201.6668.121

[✓] VS Code (version 1.44.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.9.1

[✓] Connected device (5 available)
    • Android SDK built for x86 64 • emulator-5554                            • android-x64    • Android 10 (API 29) (emulator)
    • Josh’s iPhone                • 90ce30e2bd29da03c7e7105a7e04ea68f786975d • ios            • iOS 13.4.1
    • macOS                        • macOS                                    • darwin-x64     • Mac OS X 10.15.4 19E287
    • Web Server                   • web-server                               • web-javascript • Flutter Tools
    • Chrome                       • chrome                                   • web-javascript • Google Chrome 81.0.4044.122

! Doctor found issues in 2 categories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions