Skip to content
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

Open multiple pages at the same time, the controller is confused. #3280

Open
cssdxc opened this issue Dec 27, 2024 · 1 comment
Open

Open multiple pages at the same time, the controller is confused. #3280

cssdxc opened this issue Dec 27, 2024 · 1 comment
Assignees

Comments

@cssdxc
Copy link

cssdxc commented Dec 27, 2024

When multiple pages ABCD are opened at the same time, all controllers will be added to the route of D. When D is closed, the controllers of ABC will also be destroyed at the same time. How should this be solved?

@rinsarmu
Copy link

rinsarmu commented Feb 1, 2025

Controllers would be removed from memoery as soon as the widgets are removed from the stack. but if u want to persist them even though the widgets removed from stack, u have to pass like this ControllerName, controller = Get.put(ControllerName(permanent:true));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants