Skip to content

_StandardBottomSheet doesn't remove its status listener from foreign AnimationController's #167899

Closed

Description

@Bungeefan

_StandardBottomSheetState registers a listener via addStatusListener on the passed in AnimationController but never removes it.

@override
void initState() {
super.initState();
assert(widget.animationController.isForwardOrCompleted);
widget.animationController.addStatusListener(_handleStatusChange);
}
@override
void dispose() {
widget.onDispose?.call();
super.dispose();
}

Activity

  1. added
    in triagePresently being triaged by the triage team
    frameworkflutter/packages/flutter repository. See also f: labels.
    p: material_uimaterial_ui package in flutter/packages
    team-designOwned by Design Languages team
    and removed
    in triagePresently being triaged by the triage team
    on Apr 28, 2025
  2. added
    P2Important issues not at the top of the work list
    triaged-designTriaged by Design Languages team
    on Apr 30, 2025
  3. added
    r: fixedIssue is closed as already fixed in a newer version
    on May 5, 2025
  4. github-actions commented on May 19, 2025

    @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.

  5. locked as resolved and limited conversation to collaborators on May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listframeworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packagesr: 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