Tree is breaking after collapse #1626

Closed
opened 2026-01-29 17:56:25 +00:00 by claunia · 3 comments
Owner

Originally created by @maxueljunior on GitHub (Feb 19, 2025).

Hi guys, I have a Tree implementation that is exactly the same as the one you have in the example below.

https://blazor.radzen.com/tree-data-binding-refresh?theme=material3

However, it is generating a bug that is breaking the screen.

[Steps to reproduce the bug.]

1 - Expand any child level of a parent level.
2 - Collapse the level you just expanded.
3 - Now try to click on any other level and the page will break.

[Expected Behavior]

  • You can generally do anything inside the tree.

[Screenshots]

Image

Image

Originally created by @maxueljunior on GitHub (Feb 19, 2025). Hi guys, I have a Tree implementation that is exactly the same as the one you have in the example below. https://blazor.radzen.com/tree-data-binding-refresh?theme=material3 However, it is generating a bug that is breaking the screen. **[Steps to reproduce the bug.]** 1 - Expand any child level of a parent level. 2 - Collapse the level you just expanded. 3 - Now try to click on any other level and the page will break. **[Expected Behavior]** - You can generally do anything inside the tree. **[Screenshots]** ![Image](https://github.com/user-attachments/assets/1adfa754-3347-4517-bbed-1f8995b0d572) ![Image](https://github.com/user-attachments/assets/9df0aa8b-3d30-44d5-889d-8f406678b002)
Author
Owner

@Dasuke commented on GitHub (Feb 19, 2025):

Same issue here! Thank you

@Dasuke commented on GitHub (Feb 19, 2025): Same issue here! Thank you
Author
Owner

@enchev commented on GitHub (Feb 19, 2025):

In my opinion Reload() call in this demo will cause stack overflow. - sadly we missed it when we accepted the pull request with this example

@enchev commented on GitHub (Feb 19, 2025): In my opinion Reload() call in this demo will cause stack overflow. - sadly we missed it when we accepted the pull request with this example
Author
Owner

@Dasuke commented on GitHub (Feb 20, 2025):

This bug stopped happening after I downgraded to version 6.0.6.

Version 6.0.7 has a bug fix related to the tree component: Fixed other items not collapsed with Tree SingleExpand=true. so it might introduced a new issue.

@Dasuke commented on GitHub (Feb 20, 2025): This bug stopped happening after I downgraded to version 6.0.6. Version 6.0.7 has a bug fix related to the tree component: **Fixed other items not collapsed with Tree SingleExpand=true.** so it might introduced a new issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1626