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

Đang mở
#8,248 2 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
react-native
Lĩnh vực
mobile

Hướng nghiên cứu

Bắt đầu với repository tái hiện được liên kết, wix-rnn-modal-bug1, và tái hiện lỗi xảy ra không liên tục bằng cách sử dụng React Native Navigation 8.7.5 với Fabric được bật. Theo dõi chuỗi song song của modal và Navigation.push; được xem là hoàn tất khi screen được push một cách ổn định mà không cần chờ modal mở, bao gồm cả môi trường iOS được báo cáo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

🏚 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)

Ngôn ngữ chính
MDX
Star
13.2k
Fork
2.6k
Merge trung bình
2 ngày 10 giờ
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của wix/react-native-navigation

Tất cả issue của wix/react-native-navigation

Issue tương tự

Thêm issue về Mobile Dev

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.