Skip to content

Bug - ExpandableSection - truncating variant throws errors on rerender because of undefined containerRef #10869

@mmuzikar

Description

@mmuzikar

Describe the problem
ExpandableSection in truncating variant throws errors in console on rerendering multiple components (ie. filtering a table), this is also an issue for the dev overlay as it produces a ton of errors

How do you reproduce the problem?
Provide steps to reproduce. A codesandbox demonstrating the problem is appreciated.

Expected behavior
The component should take in consideration that the containerRef might be undefined and not throw any errors in that case

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions