Skip to content

pfe-tabs: Mutation observer logic generates error when text is added to a tab panel #845

@kylebuch8

Description

@kylebuch8

When text is dynamically added to a tab or tab panel, the mutation observer is looking for a tagName. Since text doesn't have a tagName property, it causes the mutation observer to error.

image

View this codesandbox to see the issue:
https://codesandbox.io/s/affectionate-snow-838pe?file=/src/App.js

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions