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
Attempt to present <RCTModalHostViewController... which is already presenting - and increasing warning #2563
Comments
There isn't enough information to see where the problem is honestly, but my suggestion is to be sure to dismiss everything in your components when you hit the back button. I had the same problem when the keyboard was involved. I was able to remove the warning using Keyboard.dismiss() when tapping on the back button. It is probably not what is happening int your case, but I thought it was worth give you a hint. |
Please reproduce the issue with Example project. Closing this ticket for now. |
I had this error too. I was rendering more than one |
Should be related to facebook/react-native#10471 |
Can you add code block, please? |
Hi people,
I need urgent help if possible.
I am hitting some serious performance issues and I think that I maybe setup RNRF wrong.
Can somebody check my setup and tell me if I am getting problems from it and what to do to fix this:
As you can see my app flow is Splash > Home > From home I open product details > From product details I open Wizard as modal > In wizard modal I navigate from one component to another and close it (closing code is: Actions.homeScreen();)
In console I get this warning:
Warning: Attempt to present <RCTModalHostViewController: 0x15bf75500> on <UIViewController: 0x153e081e0> which is already presenting <RCTModalHostViewController: 0x15bf7b800>
And this warning increase.
As I close and open product details screen more and more this warning is always increased by 1.
So oppening it 10 times result each time: 1 warning, 2 warnings ... 10 warnings.
The text was updated successfully, but these errors were encountered: