callstack / callstack/react-native-paper

Data Table Pagination Dropdown bugs out on web when its almost at the end of the screen height

Đang mở
#4,285 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug DataTable
Ngôn ngữ chính
TypeScript
Star
14.5k
Fork
2.2k
Merge trung bình
5 ngày 23 giờ
Pull request đã merge (30 ngày)
12

Mô tả

### Current behaviour
(https://jam.dev/c/b91df2a7-fdde-4086-adb1-a511f1a69420)
When Data Table Pagination is almost at the end of the screen, it doesn't open all the time.

### Expected behaviour
Ideally it should open above but I guess it's trying to open below and fail and hence close.

### How to reproduce?
Create a Data Table with Pagination and increase height so it extends almost to the end of the screen, or use the below snack link:
https://snack.expo.dev/9Gsilnvi0tLPtdTisgBNc

Render the web view and expand it to full screen and watch the row count dropdown menu flicker while trying to update value.

### Preview
(https://jam.dev/c/b91df2a7-fdde-4086-adb1-a511f1a69420)

### What have you tried so far?
Tried adding ScrollViews but doesn't help. Also no props are allowed to change anchor position for the menu in pagination.

### Your Environment

Mentioned in the video link.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.