-
Notifications
You must be signed in to change notification settings - Fork 13.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
bug: Ionic 4.11.2 and React - navigation causes a stack overflow #19732
Comments
Hi @marcoromag, Thanks for the issues and for providing good test cases, they helped quite a bit in finding the bug. These are fixed in the code base and will be out in the next 4.11.3 release. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Hi,
Since Ionic 4.11.2, there is a major issue in the navigation: navigating to a page that is already in the stack causes a stack overflow.
Below you can find a simple snipped of a crashing app...
Test: run app. Click on button 'Go to Page B'. Click on button 'Go to Page C'. Click on button 'Go to Page A'.
Expected behaviour: normal navigation works
Current behaviour: Browser crashes with
[Error] RangeError: Maximum call stack size exceeded.
removeOrphanedViews (9.chunk.js:7198)
(anonymous function) (9.chunk.js:7202)
forEach
removeOrphanedViews (9.chunk.js:7201)
(anonymous function) (9.chunk.js:7202)
forEach
removeOrphanedViews (9.chunk.js:7201)
(anonymous function) (9.chunk.js:7202)
forEach
removeOrphanedViews (9.chunk.js:7201)
...
The text was updated successfully, but these errors were encountered: