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

fix(router): remove child outlet context from parent on deactivation #41381

Closed
wants to merge 1 commit into from

Commits on Mar 30, 2021

  1. fix(router): Remove information about attached component when deactiv…

    …ating route
    
    When we deactivate a child route, we deactivate its outlet as well as
    its children. We also need to clear the stored information about the
    route and the associated component.
    If we do not, the context will keep these references and can result in
    reactivating an outlet that was deactivated by the previous navigation.
    
    Fixes angular#41379
    atscott committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    4f94113 View commit details
    Browse the repository at this point in the history