Here is the issue that I\'m encountering with Angular 7 :
I have two outlets : the main app router outlet, and a secondary outlet named \'administration\'.
W
My problem: Basically my named outlet wasnt deactivating, in my case I would use it for a bunch of different modals, and while manually deactivating my modal outlet would work, it didnt work when loading a different path and the same component into the outlet.
So as pointed by @Andreas in here (https://github.com/angular/angular/issues/20694#issuecomment-595707956). I didn't have any asigned components for an empty path, so I am guessing it couldnt deactivate the outlet somehow because of that, so I just asigned an emptyComponent for path: "".
This would be my router constant:
{
outlet: "modal",
path: "",
component: EmptyComponent,
},