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
Description:
I have encountered an issue with the organizationChart component in the latest version of PrimeNG (v19). The preserveSpace property, which is described as: "Whether the space allocated by a node is preserved when hidden," does not behave as expected.
Steps to Reproduce:
Use the organizationChart component in a project with PrimeNG v19.
Add nodes to the chart and set the preserveSpace property to false.
Hide one of the nodes.
Expected Behavior:
When preserveSpace is set to false, the space allocated by a hidden node should collapse, and the layout should adjust to remove the extra space.
Actual Behavior:
The space allocated by the hidden node is always preserved, even when preserveSpace is explicitly set to false.
Environment:
PrimeNG Version: 19.0.0
Angular Version: 19.0.5
Browser: Chrome 130
Additional Notes:
This behavior seems like a bug or regression, as it directly contradicts the expected functionality of the preserveSpace property. Please let me know if further clarification or additional examples are needed to address this issue.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description:
I have encountered an issue with the
organizationChart
component in the latest version of PrimeNG (v19). ThepreserveSpace
property, which is described as: "Whether the space allocated by a node is preserved when hidden," does not behave as expected.Steps to Reproduce:
organizationChart
component in a project with PrimeNG v19.preserveSpace
property tofalse
.Expected Behavior:
When
preserveSpace
is set tofalse
, the space allocated by a hidden node should collapse, and the layout should adjust to remove the extra space.Actual Behavior:
The space allocated by the hidden node is always preserved, even when
preserveSpace
is explicitly set tofalse
.Environment:
Additional Notes:
This behavior seems like a bug or regression, as it directly contradicts the expected functionality of the
preserveSpace
property. Please let me know if further clarification or additional examples are needed to address this issue.Beta Was this translation helpful? Give feedback.
All reactions