Closed che-ressoucenmangel closed 5 months ago
This issue has been automatically marked as stale. If this issue is still affecting you with the latest version, please leave any comment, and we will keep it open. We are sorry that we have not been able to prioritize it yet. If you have any new additional information, please include it with your comment!
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you for your understanding!
Describe the bug
When i use the p-sidebar-component und want to display it onInit, the sidebar seems to be called multiple times.
app.component.html:
I would like to load components inside the Sidebar onInit for a router-outlet. So for specific urls you can directly access the sidebar-content. But with this bug this is not possible. You can close the Sidebar itself (this is only exist once) - but the mask is generated multiple times and you can just get rid of one, closing the sidebar.
I don't what to disable the mask. I know this would help, but i hope you can fix this or have another workaround :)
Thx for any help!
Environment
mac-os 13.6 (22G120)
Reproducer
No response
Angular version
17.0.5
PrimeNG version
17.3.3
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.11.0
Browser(s)
Google Chrome: Version 120.0.6099.216
Steps to reproduce the behavior
Just init the code below and you should see the Problem directly
Expected behavior
The sidebar and mask should only show once.