You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We open ALL nested individual panels in the hierarchy of one collapsible. With version 2.8.3 the first time component is rendered all individual panels do not expand - height is 0. What is interesting is that the trigger component is rendered properly and indicates that collapsible is expanded - the child however is not rendered on the first go at all.We render all instances of Collapsible with lazyRender={true). If we change this to lazyRender={false} issue goes away however we do not want any instances of Collapsible to render if they are in collapsed state so this is not a solution. Issue does not exist in 2.8.0. The culprit seems to be the change related to PR #178 in the context of lazyRender=true. If the check prevState.height != 0 is removed issue goes away.
To Reproduce
Create a basic collapsible tree and programmatically set each component state to open
Expected behavior
Before version 2.8.0 everything was opening properly
Screenshots
The height style property set to 0 is the culprit - when I comment it out the component appears fine.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
andpor
changed the title
Release 2.6.1 introduced a serious defect
Release 2.8.3 introduced a serious defect
Nov 15, 2023
andpor
changed the title
Release 2.8.3 introduced a serious defect
Release 2.8.3 introduced a major Callapsible OPEN defect with lazyRender=true
Nov 15, 2023
Describe the bug
We open ALL nested individual panels in the hierarchy of one collapsible. With version 2.8.3 the first time component is rendered all individual panels do not expand - height is 0. What is interesting is that the trigger component is rendered properly and indicates that collapsible is expanded - the child however is not rendered on the first go at all.We render all instances of Collapsible with lazyRender={true). If we change this to lazyRender={false} issue goes away however we do not want any instances of Collapsible to render if they are in collapsed state so this is not a solution. Issue does not exist in 2.8.0. The culprit seems to be the change related to PR #178 in the context of lazyRender=true. If the check prevState.height != 0 is removed issue goes away.
To Reproduce
Create a basic collapsible tree and programmatically set each component state to open
Expected behavior
Before version 2.8.0 everything was opening properly
Screenshots
The height style property set to 0 is the culprit - when I comment it out the component appears fine.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: