Skip to content

Change Menu behaviour on viewport change #4721

Open
@szado

Description

@szado

Is your feature request related to a problem? Please describe.
Currently, when the screen size changes, the menu automatically closes. This is problematic in scenarios where the menu should remain open after, for example, an orientation change or when it needs to coexist with an inner text field that triggers the software keyboard to open.

Describe the solution you'd like
Provide a way to customize this behavior, e.g., via a new component prop. It could accept two options: one for the default (current) behavior, and another to keep the menu open and reposition it after a viewport change.

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