Skip to content

Menu onDismiss AnimationΒ #4813

@lovegaoshi

Description

@lovegaoshi

Is your feature request related to a problem? Please describe.
Some of the menu component's onDismiss handling (1,2) does NOT call hide(); if I change the menu's visibility within ondismiss it cancels the animation entirely

Describe the solution you'd like
make hide accepts a callback, calls the callback at the end of the animation, and replace the onDismiss to () => hide(onDismiss)

Describe alternatives you've considered
I might have totally missed the memo on how to control the menu visibility via onDismiss.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions