Skip to content

Change Menu behaviour on viewport change #4721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
szado opened this issue May 7, 2025 · 0 comments
Open

Change Menu behaviour on viewport change #4721

szado opened this issue May 7, 2025 · 0 comments

Comments

@szado
Copy link

szado commented May 7, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant