patternfly-react icon indicating copy to clipboard operation
patternfly-react copied to clipboard

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

Open mmuzikar opened this issue 1 year ago • 1 comments

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

mmuzikar avatar Aug 20 '24 08:08 mmuzikar

@mmuzikar what version of PF react-core are you on. This issue should be fixed by this PR in 5.4 release https://github.com/patternfly/patternfly-react/pull/10718

tlabaj avatar Sep 05 '24 13:09 tlabaj

closed by #10870

tlabaj avatar Nov 05 '24 14:11 tlabaj