ngneat / overview

🤖 A collection of tools to make your Angular views more modular, scalable, and maintainable
MIT License
120 stars 8 forks source link

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

Open MichaelLhommeTransdev opened 1 year ago

MichaelLhommeTransdev commented 1 year ago

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 https://github.com/ngneat/overview/compare/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:

luii commented 8 months ago

@shhdharmen Are there any advancements towards a working solution on this issue?

jkalata commented 4 days ago

Any updates on this issue?