callstack / callstack/react-native-paper

How are route positions handled in BottomNavigation?

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

描述

Hello, has anyone had the same problem using BottomNavigation with Firebase dynamically? When I delete only the last route on the right I get this error. If I am on another route and I delete the last route on the right, nothing happens, apparently it is a problem in the array of routes but I don't understand.
![Screenshot_20240323_121629](https://github.com/callstack/react-native-paper/assets/110744750/3524dc6c-1b5e-4ed0-9c95-6280f0b9fa14)

贡献指南

打开贡献指南

调研方向

从 BottomNavigation 的路由处理开始,复现删除最右侧 Firebase 驱动路由的情况,分别测试当前位于该路由和位于另一条路由时的场景。记录缺失的错误详情和预期行为;一旦能够复现这些情况并确立明确的完成条件,该 issue 就可以开始处理。

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

评估

技术栈
firebase, react-native, typescript
领域
mobile
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

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