[V7] iOS Material Top Tabs Static Auth Flow doesn't render first tab
@MrRefactor 已经在做这个了。
开始于 2024年12月3日。
评估
这个 Issue 还没有评估数据。
描述
This issue is a copy of https://github.com/react-navigation/react-navigation/issues/12289 , it was requested to be posted here as it is related to react-native-pager-view which is a dependency of Material Top Tabs.
Current behavior
When using a Material Top Tab as the root element in createStaticNavigation with authentication flow, the first tab is not rendered in iOS when switching between groups. The tab is highlighted.
Expected behavior
In Web and Android the first tab in the new group is rendered.
Reproduction
https://snack.expo.dev/@f_faria_brastel/material-tob-static-navigation?platform=ios
Platform
- Android
- iOS
- Web
- Windows
- MacOS
Packages
- @react-navigation/bottom-tabs
- @react-navigation/drawer
- @react-navigation/material-top-tabs
- @react-navigation/stack
- @react-navigation/native-stack
- react-native-tab-view
Environment
- I've removed the packages that I don't use
| package | version |
|---|---|
| @react-navigation/native | 7.0.4 |
| @react-navigation/material-top-tabs | 7.0.7 |
| @react-navigation/native-stack | 7.0.3 |
| react-native-safe-area-context | 4.12.0 |
| react-native-screens | 4.1.0 |
| react-native-pager-view | 6.5.1 |
| react-native | 0.76.2 |
| expo | 52.0.11 |
| node | 18.18.2 |
| npm or yarn | npm |
- 主要语言
- TypeScript
- 星标
- 3.4k
- 派生
- 479
- 平均合并
- 21 天 21 小时
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
callstack/react-native-pager-view 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
callstack/react-native-pager-view#1146 ·
-
难度 5/5 一周以上 新手友好度 35/100
callstack/react-native-pager-view#1144 ·
-
难度 4/5 3-5 天 新手友好度 55/100
callstack/react-native-pager-view#1142 · 2 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 45/100
callstack/react-native-pager-view#1141 ·
-
难度 4/5 3-5 天 新手友好度 55/100
callstack/react-native-pager-view#1099 · 8 条评论 · 3 个 reaction ·
查看 callstack/react-native-pager-view 的全部 Issue
相似的 Issue
-
Mend: dependency security vulnerability untriaged
难度 2/5 1-3 小时 新手友好度 68/100
opensearch-project/security-dashboards-plugin#2545 ·
维护者通常 1 天内回复
-
Add: Dream TR SD未关闭check:passed streams:add
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
doctor integrity sample scans soft-deleted pages on Postgres (batch path has no deleted_at filter)未关闭
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
SocialGouv/egapro#4672 · 1 条评论 ·
维护者通常 2 天内回复
-
area:agents area:tui bug
难度 2/5 1-3 小时 新手友好度 74/100
anthropics/claude-code#98358 ·
维护者通常 1 天内回复