Skip to content

pfe-content-set: Bug in mobile view if pfe-content-set--panel contains an accordion #968

@kylebuch8

Description

@kylebuch8

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)

  • pfe-content-set

Steps to reproduce

  1. Go to https://codesandbox.io/s/pfe-content-set-bug-with-accordion-in-panel-jofrb?file=/index.html
  2. View the demo area so that pfe-content-set uses the mobile view and creates an accordion.
  3. See error

Expected behavior

It should not get caught in an infinite loop.

Screenshots

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions