Skip to content

feature: Ability to manually control NotificationDropdown open/closed state #364

@duckwaffle

Description

@duckwaffle

Problem / Motivation

There doesn't seem to be any mechanism to open/close the NotificationDropdown control without simulating a click event on the parent element in the dom. It would be incredible if it were possible to programmatically open/close the NotificationDropdown control.

Proposed solution

Expose a boolean? property named isOpen or something along those lines, which is monitored by NotificationDropdown to call setOpen at

const [open, setOpen] = useState(false);

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions