-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[Accordion] onOpen and onClose emitter won't trigger any events with the new components for accordion #17447
Comments
+1 |
Same issue here. On version 19 and using the stock example from primeNG's website. onOpen and onClose are not getting triggered. |
Can confirm the same, we are currently blocked by this issue. |
These events are not working. Anyone working on this issue? |
Not wokring in my case either |
Is there a plan or timeframe to address and resolve it? |
Is there a CONTRIBUTING.md file so I can fix this? |
Created an PR for this: |
There seems to still be an issue with those emitted events. The emitted index is always -1 in our project. I'm currently using version 19.0.8 |
Can confirm, the emitted index is always -1 in our case. |
Describe the bug
The onOpen and onClose emitter for accordion don't work with the new accordion-header and accordion-content components. The events are triggered when you use the old component p-accordionTab or p-accordion-tab.
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/github-8n33ys8f?file=src%2Fapp%2Ftest%2Ftest.component.html
Environment
stackblitz
Angular version
19
PrimeNG version
v19
Node version
No response
Browser(s)
Chrome 132
Steps to reproduce the behavior
Link the onClose or onOpen Emitter to p-accordion with p-accordion-panel, header, content.
Try to open or close and accordion panel and nothing is triggered.
Expected behavior
Trigger the events for the onClose and onOpen Emitters with the new accordion components.
The text was updated successfully, but these errors were encountered: