Skip to content

Ability to programmatically close menu? #130

@joshmanders

Description

@joshmanders

The menu tells us if its open or not along with handling closing itself when clicked outside of itself and that's fine and dandy, but how do we programmatically close the menu?

For example, I have this component as a menu, when you open it, you get presented with the form. When you click cancel, I'd like to be able to have a method from <Menu /> that would allow me to close the menu.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions