diff --git a/src/components/accordion/__snapshots__/accordion.test.tsx.snap b/src/components/accordion/__snapshots__/accordion.test.tsx.snap index e4bab329327..e54c681a145 100644 --- a/src/components/accordion/__snapshots__/accordion.test.tsx.snap +++ b/src/components/accordion/__snapshots__/accordion.test.tsx.snap @@ -57,6 +57,7 @@ exports[`EuiAccordion behavior closes when clicked twice 1`] = ` "attributeFilter": Array [ "style", ], + "attributes": true, "childList": true, "subtree": true, } @@ -131,6 +132,7 @@ exports[`EuiAccordion behavior opens when clicked once 1`] = ` "attributeFilter": Array [ "style", ], + "attributes": true, "childList": true, "subtree": true, } diff --git a/src/components/accordion/accordion.tsx b/src/components/accordion/accordion.tsx index 65cefdaaaa8..a0d53ff2c1f 100644 --- a/src/components/accordion/accordion.tsx +++ b/src/components/accordion/accordion.tsx @@ -185,6 +185,7 @@ export class EuiAccordion extends Component< observerOptions={{ childList: true, subtree: true, + attributes: true, attributeFilter: MUTATION_ATTRIBUTE_FILTER, }} onMutation={this.onMutation}>