Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
- Nightly
Current Behavior
I have a page from which I can open a modal component.
However when the app loads, the first time I open the detailed modal the accordion works as expected with those 2 tabs open. However when I close the modal and re open the modal then it does not render correctly and all the tabs remain shut. This behaviours occurs after I open any accordion for the first time on the page. After which any accordion in the modal does not render correctly
Expected Behavior
When the modal reopens the accordion should re render. Note that this is not just for one page, the issue will occcure to all accordians in the app after first use
Steps to Reproduce
I have added a reproducable example to the git repo in the ticket.
If you run the app then click on open modal. Then close and reopen the modal the accordion tabs will remain shut
Code Reproduction URL
https://github.com/akshay199414/AccordionExample
Ionic Info
Ionic:
Ionic CLI : 6.19.0 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.1.6
@angular-devkit/build-angular : 13.2.6
@angular-devkit/schematics : 13.2.6
@angular/cli : 13.2.6
@ionic/angular-toolkit : 6.1.0
Capacitor:
Capacitor CLI : 3.5.1
@capacitor/android : not installed
@capacitor/core : 3.5.1
@capacitor/ios : not installed
Utility:
cordova-res : not installed globally
native-run : 1.6.0
System:
NodeJS : v16.14.2 (/usr/bin/node)
npm : 8.5.0
OS : Linux 5.10
─────────────────────────────────────────────────
Ionic CLI update available: 6.19.0 → 6.19.1
Run npm i -g @ionic/cli to update
─────────────────────────────────────────────────
Additional Information
No response