Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

cMenu cannot close the menu programmatically when closeOnSelect is set to false #382

@deevannaveed

Description

@deevannaveed

Is your feature request related to a problem? Please describe.
I want the menu to be able to close programmatically event if closeOnSelect is set to false because I want the menu to stay open for some menu items and for some menu items I want to close it.

Describe the solution you'd like
I think isOpen prop should still work when closeOnSelect is set to false

Describe alternatives you've considered
I used the document.currentElement.blur() which works in Firefox but not working in Chrome.

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