-
Notifications
You must be signed in to change notification settings - Fork 258
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
RouterOutlet navigation problem #944
Comments
same issue here. |
Hi @DimensaSpaki, Have you tested with the new version 6.3.3? There was a fix of it in her. |
Hi @eduardoflorence, Yes, I tested using the latest version. |
Hi @EdsonMello-code, @RibeiroRibas, @DimensaSpaki dependency_overrides:
modular_core:
git:
url: https://github.com/eduardoflorence/modular.git
ref: module_not_dispose
path: modular_core |
@eduardoflorence, the example worked, but I think there is still another problem. In my app the bind didn't disposed, but my scenario is more complex than the example, there is a RouterOutlet inside another RouterOutlet and also redirect routes. Later, I will try to adapt the example and check if I can reproduce the problem. I also want to monitor what happens in this piece of code that was modified running my app. Thank you for the reply :) |
@EdsonMello-code, @RibeiroRibas, @DimensaSpaki dependency_overrides:
modular_core:
git:
url: https://github.com/eduardoflorence/modular.git
ref: bug-create-exported-injector
path: modular_core |
Describe the bug
Navigation is not working correctly, because when I navigate to the RouterOutlet and navigate to another separate module, the parent module of the RouterOutlet maintains the binds and also the module itself as shown in the example to reproduce the error.
Environment
To Reproduce
Expected behavior
I expect the CounterController bind to be destroyed as well as the HomeModule module when I navigate to another module (LoginModule)
Screenshots
The text was updated successfully, but these errors were encountered: