-
Notifications
You must be signed in to change notification settings - Fork 29.2k
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectf: cupertinoflutter/packages/flutter/cupertino repositoryflutter/packages/flutter/cupertino repositoryfound in release: 3.10Found to occur in 3.10Found to occur in 3.10found in release: 3.13Found to occur in 3.13Found to occur in 3.13frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Description
Details
_lastOverlayEntry
is only removed when animation is dismissed or completed.
What if the overlayEntry is inserted, and then the CupertinoContextMenu
is disposed and removed from widgets tree? So the entry will never be removed.
Temporary solution is add _lastOverlayEntry?.remove()
to
But this is not enough, because there will be no animation, and it will be abrupt for it to suddenly disappear.
Steps to reproduce
- Add a
CupertinoContextMenu
to any visible widget. - Press it to insert the overlayEntry (the
_DecoyChild
) , while remove theCupertinoContextMenu
from the widgets tree. - The entry never dismissed.
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectf: cupertinoflutter/packages/flutter/cupertino repositoryflutter/packages/flutter/cupertino repositoryfound in release: 3.10Found to occur in 3.10Found to occur in 3.10found in release: 3.13Found to occur in 3.13Found to occur in 3.13frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
Type
Projects
Status
Done