Either active tab should be 1st or all closed.
Or
Alternative - accordion instance public method (after grabbing instance with ViewChild) to reset active Tab
Due to PrimeNG team's busy roadmap, this issue is available for anyone to work on. Make sure to reference this issue in your pull request. :sparkles: Thank you for your contribution! :sparkles:
Describe the bug
Scenario:
and say press tab 3 to open it.
Environment
Angular 18 Primeng 17
Reproducer
https://stackblitz.com/edit/lpeujv?file=src%2Fapp%2Faccordion-dynamic-demo.ts
Angular version
18.0.2
PrimeNG version
17.18.11
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
v20.9.0
Browser(s)
Chrome
Steps to reproduce the behavior
Expected behavior