callstack / callstack/react-native-paper
Support overflow items with 'More' button in BottomNavigation.
- 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ả
**Is your feature request related to a problem? Please describe.**
When using the **BottomNavigation** as the main menu in a React Native application, it's currently not possible to add too many items.
**Describe the solution you'd like**
I would like to propose an enhancement to the BottomNavigation component that allows developers to set a maximum number of visible items. Any additional items beyond this limit would be grouped under a "More" button. When the user clicks on the "More" button, the extra items would be displayed in a submenu.
**Additional context**
In my current React Native Expo project, the main menu is built using BottomNavigation. There is a requirement to display many sections in the menu, and having a clean and organized way to show all necessary items is crucial for usability.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách xác định component BottomNavigation và xem lại cách component này hiện render các mục menu. Xác định số lượng mục hiển thị tối đa, nút "Thêm" và submenu sẽ hoạt động như thế nào, sau đó xác minh rằng tất cả các mục ban đầu vẫn có thể truy cập được và bố cục vẫn sử dụng được trên Android và iOS.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- react-native, typescript
- Lĩnh vực
- frontend, mobile
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100