Skip to content

OverlayRoute.didPop shouldn't remove the overlays #370

Closed

Description

@Hixie

Or at least, we should provide a way for that to be delayed. Right now, didPop() on _BottomSheetRoute delays its super.didPop() call, which is a contract violation.

Activity

  1. added
    c: contributor-productivityTeam-specific productivity, code health, technical debt.
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Nov 13, 2015
  2. Hixie commented on Nov 13, 2015

    @Hixie
    ContributorAuthor

    TransitionRoute does this too, but even worse (didPop doesn't call super.didPop, then a completely unrelated _handleStatusChanged method calls super.didPop).

  3. HansMuller commented on Nov 16, 2015

    @HansMuller
    Contributor

    I found the didPop() linkages in TransitionRoute difficult to follow and I definitely didn't improve matters in _BottomSheetRoute().

    Some of the tension comes from tests that want to call Navigator.pop() and then verify that their route is indeed gone. Similarly, the tests want to verify that showFoo().then( ) has removed whatever was being shown.

  4. self-assigned this
    on Nov 17, 2015
  5. github-actions commented on Sep 7, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

c: contributor-productivityTeam-specific productivity, code health, technical debt.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions