Modal with modalPresentationStyle=OptionsModalPresentationStyle breaks Navigation.push if opened In parallel
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- react-native
- 领域
- mobile
调研方向
从链接的复现仓库 wix-rnn-modal-bug1 开始,使用启用 Fabric 的 React Native Navigation 8.7.5 重现间歇性故障。跟踪并行的 modal 和 Navigation.push 序列;当 screen 无需等待 modal 打开即可稳定地被 push(包括报告中的 iOS 环境)时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
What happened?
Navigation.showModal modalPresentationStyle:OptionsModalPresentationStyle.overCurrentContext is broken when trying to push the new screen in parallel
https://github.com/user-attachments/assets/035836b0-38b4-4903-a52b-524d5a658bcd
https://github.com/user-attachments/assets/13cc987f-6c6e-47bd-993e-51741cfd495f
What was the expected behaviour?
It should work corretly and push a screen even without waiting for modal to open
Was it tested on latest react-native-navigation?
- I have tested this issue on the latest react-native-navigation release and it still reproduces.
Help us reproduce this issue!
repo - https://github.com/Belobopka/wix-rnn-modal-bug1 sometimes it works but one in 10 cases
In what environment did this happen?
React Native Navigation version: 8.7.5
React Native version: 0.80.3
Has Fabric (React Native's new rendering system) enabled: (yes/no) YES
Node version: 20.19.6
Device model: IPhone 15 pro
iOS version: 18.1(but I think it reproducible on more newer versions)
- 主要语言
- MDX
- 星标
- 13.2k
- 派生
- 2.6k
- 平均合并
- 2 天 10 小时
- 30 天内合并 PR
- 6
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
wix/react-native-navigation 的其他 Issue
-
needs triage triage: documentation
难度 2/5 1-3 小时 新手友好度 68/100
wix/react-native-navigation#8343 · 1 条评论 ·
-
[Fix] searchBar `focus:` true ignored on mergeOptions when searchController already exists可能已有人在做 @IsaacIsrael 于 160 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
wix/react-native-navigation#8318 ·
-
needs triage type: accepted/bug
难度 4/5 3-5 天 新手友好度 25/100
wix/react-native-navigation#8365 · 2 条评论 ·
-
`showOverlay` creates a scene-less `UIWindow`, so overlays never appear under UIScene lifecycle可能已有人在做 @yedidyak 于 5 天前认领。 未关闭platform: iOS type: accepted/bug
难度 3/5 1-2 天 新手友好度 68/100
wix/react-native-navigation#8345 · 2 条评论 · 2 个 reaction ·
-
platform: iOS type: accepted/bug
难度 4/5 3-5 天 新手友好度 48/100
wix/react-native-navigation#8340 ·
查看 wix/react-native-navigation 的全部 Issue
相似的 Issue
-
submit-adaption submit-adaption-pre
难度 1/5 1 小时以内 新手友好度 72/100
BetterAndroid/android-notification-icon-project#848 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
bug
难度 1/5 1-3 小时 新手友好度 70/100
orgzly-revived/orgzly-android-revived#1132 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
commons-app/apps-android-commons#7275 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 67/100
维护者通常 1 天内回复