callstack / callstack/react-native-paper
Pagination drop-down not working
- Dominant language
- TypeScript
- Stars
- 14.5k
- Forks
- 2.2k
- Avg merge
- 5d 23h
- Merged PRs (30d)
- 12
Description
### 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
Contributor guide
Research direction
Start by locating the Datatable.pagination component and its datatablepagination search-menu code, then reproduce the issue with numberOfItemsPerPageList on the reported React Native versions. Trace why the drop-down toggle does not open and verify that the rows-per-page menu appears and filters items as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100