-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Component: Sidebar #14254
Comments
@Sp94dev unfortunately you are right... just when I thought [email protected] (last version of angular 16, equal as yours) is production ready after months of waiting.. This issue occurs only is What is interesting, sometimes Thank you for testing this (from another FE Developer user of PrimeNG). |
My experience is that I can tell that when Splitting these two race conditions from one I hope that'll help some of users to temporarily fix that issue at your codebase, and that PrimeNG team will find what's the issue and solve it quick. |
@eXpertise7 could You show an example? |
I've different case, I'm using normal public boolean variables, not Signal's. Before it was this, it has worked in the [email protected] (my version):
On [email protected] it does not work. So I needed to split (without using
This is not issue solve of |
Ahh yes, In my case setting [modal]=false helps a little but it is not a solution because I lost overlay and a click outside of sidebar behaviours. |
In my case it worked fine with primeng16 in general, but when updated to angular 17 started getting this issue too. Temporaly I will set modal to false |
After some testing, I noted that the bug started occurring in 16.8.0, and in 16.5.0 everything worked fine. |
Issue still happens at 17.1.0 |
…r-mask disappears but the component stays open
Fixed #14254 - Sidebar | When trying to close the sidebar, the sideba…
Maybe this is helpful. I have a p-menu component inside the p-sidebar and when I click on one of the menu items the p-sidebar is closed and if I immediately spam-click on the p-overlay it gets closed sometimes? It reliably works with one specific link in my menu while others don't. |
Hello, the problem is still present with the latest versions of Angular 17, if I modify the value of visible, the onHide event is not triggered, I use these dependencies: "dependencies": {
"@angular/animations": "^17.3.11",
"@angular/cdk": "^17.3.10",
"@angular/common": "^17.3.11",
"@angular/compiler": "^17.3.11",
"@angular/core": "^17.3.11",
"@angular/forms": "^17.3.11",
"@angular/platform-browser": "^17.3.11",
"@angular/platform-browser-dynamic": "^17.3.11",
"@angular/router": "^17.3.11",
"@jsverse/transloco": "^7.4.2",
"angular-oauth2-oidc": "13.0.1",
"dayjs": "^1.11.11",
"lodash": "^4.17.21",
"primeflex": "^3.3.1",
"primeicons": "^6.0.1",
"primeng": "^17.18.1",
"rxjs": "~7.8.1",
"tslib": "^2.6.2",
"uuid": "^9.0.0",
"zone.js": "~0.14.7"
}, |
Describe the bug
When trying to close the sidebar, the sidebar-mask disappears but the component stays open.
(onHide) is not triggered.
Environment
Standard angular application
Reproducer
https://stackblitz.com/edit/774ddz?file=src%2Fapp%2Fdemo%2Fsidebar-basic-demo.html
Angular version
17.1.0
PrimeNG version
17.0.0-rc.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
v18.17.0.
Browser(s)
Chrome
Steps to reproduce the behavior
Expected behavior
(onHide) should call closeSidebar method
The text was updated successfully, but these errors were encountered: