callstack / callstack/react-native-paper

Support overflow items with 'More' button in BottomNavigation.

未关闭
#4,704 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature request
主要语言
TypeScript
星标
14.5k
派生
2.2k
平均合并
5 天 23 小时
30 天内合并 PR
12

描述

**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.

贡献指南

打开贡献指南

调研方向

首先定位 BottomNavigation 组件,并检查它当前如何渲染菜单项。定义可见项的最大数量、“更多”按钮和子菜单应如何运行,然后验证所有原始项仍然可访问,并且布局在 Android 和 iOS 上仍然可用。

由索引模型根据 Issue 内容生成。

评估

技术栈
react-native, typescript
领域
frontend, mobile
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。