Modal with modalPresentationStyle=OptionsModalPresentationStyle breaks Navigation.push if opened In parallel

オープン
#8,248 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
react-native
領域
mobile

調査の方向性

リンクされた再現リポジトリ wix-rnn-modal-bug1 から始め、Fabric を有効にした React Native Navigation 8.7.5 を使用して断続的な失敗を再現します。modal と Navigation.push の並列シーケンスを追跡します。modal が開くのを待たずに画面が確実に push され、報告された iOS 環境も含めて確認できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

🏚 stale platform: iOS type: accepted/bug
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時間
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

wix/react-native-navigation のほかの issue

wix/react-native-navigation の issue をすべて見る

似ている issue

Mobile Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。