Skip to content

Outlet disappear on navigation when multiple outlets are in use #20

@MichaelLhommeTransdev

Description

@MichaelLhommeTransdev

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior

Currently, when using multiple outlets, only the last one will update on router navigation

Expected behavior

All the outlet should update. Proposed fix here main...MichaelLhommeTransdev:ngneat-overview:main

Minimal reproduction of the problem with instructions

Create two outlets, and use them on child components when navigating

What is the motivation / use case for changing the behavior?

I'm using teleport to control the AppBar title and also AppBar actions from the child pages.

Environment


Angular version: 15


Browser:
- [x] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
 
For Tooling issues:
- Node version: 18
- Platform: Windows

Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions