callstack / callstack/react-native-paper
Pagination drop-down not working
- Lenguaje dominante
- TypeScript
- Estrellas
- 14.5k
- Forks
- 2.2k
- Merge medio
- 5 d 23 h
- PR fusionados (30 d)
- 12
Descripción
### Current behaviour
Added the template of the Datatable.pagination in which i added numberOfItemsPerPageList={numberOfItemsPerPageList} but when clicked on it its toogle state never get true and cant see the drop-down.
### Expected behaviour
when clicked on the rows per page drop-down must open and accordingly items filteration could be done.
### How to reproduce?
check the file datatablepagination-> search menu and check why it is not showing up.
### Preview
https://github.com/callstack/react-native-paper/assets/109802307/200d5aec-e3e6-4a4f-8cf0-0535af36e7a9
### What have you tried so far?
checked the values in the paper library and also tried to give data directly but nothing helped.
### Your Environment
| software | version
| --------------------- | -------
| ios | 14
| android | 33
| react-native | 0.72.5
| react-native-paper | 5.12.3
| node | 16
| npm or yarn | 1.1.2
| expo sdk | x.x.x
Guía de contribución
Línea de trabajo
Comienza localizando el componente Datatable.pagination y su código de datatablepagination search-menu; después, reproduce el problema con numberOfItemsPerPageList en las versiones de React Native indicadas. Rastrea por qué el conmutador del menú desplegable no se abre y verifica que el menú de filas por página aparezca y filtre los elementos como se espera.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- react-native, typescript
- Área
- frontend, mobile
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 38/100