callstack / callstack/react-native-paper
Change Menu behaviour on viewport change
- Lenguaje dominante
- TypeScript
- Estrellas
- 14.5k
- Forks
- 2.2k
- Merge medio
- 5 d 23 h
- PR fusionados (30 d)
- 12
Descripción
**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.
Guía de contribución
Línea de trabajo
Comienza localizando el componente de menú y el comportamiento existente ante cambios del viewport. Lee las pruebas relacionadas del componente, si existen, para entender cómo se verifican actualmente el cierre y el reposicionamiento. Se considerará terminado cuando el comportamiento pueda seleccionarse mediante una prop del componente y sigan estando cubiertos tanto el comportamiento de cierre predeterminado como el comportamiento de mantenerlo abierto.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- react-native, typescript
- Área
- mobile
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100