Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[animations] Pressing Android back button and the widget simultaneously causes the widget to disappear #91598

@ModWU

Description

@ModWU

When I used the animations(version 2.0.1) plug-in, I had a problem with my application. When I used the OpenContainer component to build a routing page, I clicked the icon to open the route and immediately hit the Back button again, and my icon disappeared.

Steps to Reproduce

  1. Run flutter create bug.
  2. Update the files as follows: ...
  3. reproduce the problem.
  4. I clicked the icon to open the route.
  5. Immediately hit the Back button again.

Expected results:
Components built by closing disappear.

Actual results:
Components built by closing do not disappear.

Video Show:

device-2021-10-11-163601.mp4

Other issues:
When I hit the back button and scroll through the list, the animation positions don't match.

device-2021-10-11-171739.mp4
Logs
[√] Flutter (Channel stable, 2.5.1, on Microsoft Windows [Version 10.0.17763.194], locale zh-CN)
    • Flutter version 2.5.1 at D:\flutter\last-new\flutter
    • Upstream repository [email protected]:flutter/flutter.git
    • Framework revision ffb2ecea52 (3 weeks ago), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at D:\Android\Sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = D:\Android\Sdk
    • Java binary at: D:\AndroidStudio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.2)
    • Android Studio at D:\AndroidStudio
    • 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 11.0.8+10-b944.6842174)

[√] Connected device (2 available)
    • SM G9500 (mobile) • 988bdc424259355033 • android-arm64  • Android 9 (API 28)
    • Chrome (web)      • chrome             • web-javascript • Google Chrome 94.0.4606.71

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listfound in release: 2.5Found to occur in 2.5found in release: 2.6Found to occur in 2.6has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: animationsThe animations packagepackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions