callstack / callstack/react-native-paper

Change Menu behaviour on viewport change

Open
#4,721 0 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
TypeScript
Stars
14.5k
Forks
2.2k
Avg merge
5d 23h
Merged PRs (30d)
12

Description

**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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.