We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the problem Component: ExpandableSection Requires property variant="truncate" in order to invoke the offending code.
ExpandableSection
variant="truncate"
Component throws an uncaught exception when mounting and unmounting quickly or after a resize event that schedules the resize callback handler.
Error: Cannot destructure property 'offsetWidth' of 'this.expandableContentRef.current' as it is null.
Cannot destructure property 'offsetWidth' of 'this.expandableContentRef.current' as it is null.
This issue was first observed in our automated tests which performs UI actions quickly.
How do you reproduce the problem? codesandbox demonstrating the problem.
Expected behavior No exception should occur. Component should clean up any scheduled callbacks when the component is unmounted.
Is this issue blocking you? Yes it is blocking our automated tests.
Work around is to disable our tests that use this component.
What is your environment?
What is your product and what release date are you targeting? RHOAI 2.11
The text was updated successfully, but these errors were encountered:
tlabaj
Successfully merging a pull request may close this issue.
Describe the problem
Component:
ExpandableSection
Requires property
variant="truncate"
in order to invoke the offending code.Component throws an uncaught exception when mounting and unmounting quickly or after a resize event that schedules the resize callback handler.
Error:
Cannot destructure property 'offsetWidth' of 'this.expandableContentRef.current' as it is null.
This issue was first observed in our automated tests which performs UI actions quickly.
How do you reproduce the problem?
codesandbox demonstrating the problem.
ExpandableSection
withvariant="truncate"
Expected behavior
No exception should occur. Component should clean up any scheduled callbacks when the component is unmounted.
Is this issue blocking you?
Yes it is blocking our automated tests.
Work around is to disable our tests that use this component.
What is your environment?
What is your product and what release date are you targeting?
RHOAI 2.11
The text was updated successfully, but these errors were encountered: