Skip to content
New issue

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

Native TreeView doesn't initially render expanded items when the animate prop is set to "true" #251

Closed
PekoPPT opened this issue Jun 6, 2022 · 1 comment
Assignees
Labels
Bug Item which indicates that something is not working FP: Completed SEV: Medium

Comments

@PekoPPT
Copy link
Contributor

PekoPPT commented Jun 6, 2022

Describe the bug

When we have a multi-level nesting in the data loaded in the Native TreeView the parent nodes that are below level0 are not displayed correctly when set as expanded.

Sample TreeView structure
|-Level0
-|-Level1
--|-Level2
---|-Level3

  • The issue is replicable when the "animate" prop of the component is set to "true". If "animate" is set to "false", the TreeView is displaying all its nodes as expected.
  • The issue is replicable when the processTreeViewItems method is used. If the TreeView is directly bound to an array, the component is working correctly. See this example.

To Reproduce
Steps to reproduce the behavior:

  1. Open this StackBlitz project
  2. See nodes "Item1.2" and "Item2.3"

Expected behavior
The "Item1.2" and "Item2.3" nodes should be expanded and their child nodes should be displayed by default as in this example.

Screenshots
image

@PekoPPT PekoPPT added Bug Item which indicates that something is not working SEV: Medium labels Jun 6, 2022
@PekoPPT
Copy link
Contributor Author

PekoPPT commented Sep 9, 2022

Also reported in ticket: 1578997

@zdravkov zdravkov self-assigned this Sep 20, 2022
@zdravkov zdravkov added this to the R1 2023 - Increment 1 (26.10.2022) milestone Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Item which indicates that something is not working FP: Completed SEV: Medium
Projects
None yet
Development

No branches or pull requests

2 participants