-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
NSInvalidArgumentException __76-[RCTModalHostViewManager presentModalHostView:withViewController:animated:]_block_invoke.38 Application tried to present modally a view controller <RCTModalHostViewController: 0x7fcf53855110> that is already being presented by <UIViewController: 0x7fcf4791 #44612
Comments
|
|
"dependencies": { |
How do we trigger the crash? |
Sorry, my team forgot to provide the issue in github repo. Loginpage.js
} export default Loginpage; HomePage.js
} openConfirmationDialog = () => {
} handleLogout() {
} Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-05-20.at.16.41.26.mp4 |
Facing same issue Please let me know if found somthing. |
@testloancare - I temporarily fixed this issue. onConfirm={() => this.AlertPro.close(); |
Same issue here with "react-native": "0.74.3"
|
Please try with the below code. setTimeout(() => { |
Our app performs a reset/replace action when the user follows a deep link from outside the app. We do not appear to have a good way to know at that point if the user has modal currently open when they do so. Any chance this gets fixed soon? I can see there is an open PR: |
Same issue here, this always happens when navigating away from an open modal. This worked without any issue before |
On IOS i am getting this issue when i upgrade the react native version to 0.71.8 -> 0.73.9 Update this to package.json "@react-native/gradle-plugin": "0.75.1" It works for me !! |
Is this issue fixed? We recently upgraded my project from RN:0.68.7 to 0.73.7. |
Description
App is crashed and showing below error.
NSInvalidArgumentException __76-[RCTModalHostViewManager presentModalHostView:withViewController:animated:]_block_invoke.38
Application tried to present modally a view controller <RCTModalHostViewController: 0x7fcf53855110> that is already being presented by <UIViewController: 0x7fcf4791
Steps to reproduce
react-native run-ios
React Native Version
0.73.7
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/gopikrishnacse55/UIExample.git
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: