Description of the issue
If you have a pfe-accordion inside the pfe-conten-set--panel area of pfe-content-set, the code gets caught in an infinite loop and you get the following error.
Failed to execute 'appendChild' on 'Node': The new child element contains the parent.
Impacted component(s)
Steps to reproduce
- Go to https://codesandbox.io/s/pfe-content-set-bug-with-accordion-in-panel-jofrb?file=/index.html
- View the demo area so that pfe-content-set uses the mobile view and creates an accordion.
- See error
Expected behavior
It should not get caught in an infinite loop.
Screenshots
