Skip to content

CupertinoSheet example broken state with programmatic pop #175390

@justinmc

Description

@justinmc

The "Go Back" button in the cupertino_sheet.1.dart example leaves the app in a broken state.

Steps to reproduce

  1. Run the example in cupertino_sheet.1.dart.
  2. Open the bottom sheet.
  3. Press "Go Back".

Expected results

The bottom sheet closes fully.

Actual results

The bottom sheet disappears, but the underlying route does not animate. The app is frozen and can't be interacted with.

Screen.Recording.2025-09-15.at.3.46.50.PM.mov

FYI @MitchellGoodwin

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listd: api docsIssues with https://api.flutter.dev/d: examplesSample code and demosf: cupertinoflutter/packages/flutter/cupertino repositoryf: routesNavigator, Router, and related APIs.frameworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions