-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue when displaying a modal after dismissing another modal #48611
Comments
Tip Newer version available: You are on a supported minor version, but it looks like there's a newer patch available - 0.76.6. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
Tip Newer version available: You are on a supported minor version, but it looks like there's a newer patch available - undefined. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
Out of curiosity, what's the reason you can't use the old architecture? Asking as, in the future we'll be dropping support for old arch. So yes, we can look into fixing this, but you should consider using new arch, especially if this behavior is already fixed. |
I can't because I'm using |
Thanks for the insights 👍 Super valuable for us |
Glad it helps ! Do you think it's possible to fix it in the next patch ? |
The best course of action is actually to ask |
Yes but even if it's the case, our app is quite big and we have more than 50k users. When I'll switch to the new architecture, I will need to make some tests, check that everything works well, it'll be a breaking change. Right now, we just need to release some fixes to our users and we are stuck because of this issue. We really need it to be fixed please 🙏 |
If useful (in case this issue is 'upvotable') - we are in the same situation: this issue affects our app, and we are not in a position to migrate to the New Architecture as we have a few dependencies not yet supporting it |
Do we know in which version this has regressed? Was it behaving correctly in 0.75? |
I can just tell you that it was working perfectly in 0.74.5. I didn't try 0.75. I jumped from 0.74.5 to 0.76.5 |
Last version I had where it worked was 0.74.1 |
Description
Before RN 0.76.5, on iOS it was possible to show a modal and after dismissing it, showing another one.
Now, when doing the exact same thing on the old architecture the second modal is not showing up.
#47694
#48245
#48559
The error is not happening on new architecture
Steps to reproduce
React Native Version
0.76.5
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Reproducer
https://github.com/yonitou/modal-bug
Screenshots and Videos
When I click on the button "Close modal", it should dismiss the red one and show the blue one but the blue one never shows.
You will notice that if enabling new architecture, the problem disappears
https://github.com/user-attachments/assets/72aca692-d90d-40f7-b500-ef574ae26658
The text was updated successfully, but these errors were encountered: