Virtual Scroll in tree does not work with expand all and collapse all
Your example with virtual scroll doesn't show expand all or collapse all. If you enable virtual scroll and use the same code for expand all or collapse all, https://stackblitz.com/edit/habzg8ts?file=src%2Fapp%2Ftree-controlled-demo.html the chevron will update but the tree nodes won't actually expand until you click on one of the items and then they'll all expand except for the one you just clicked and that one will collapse. Same for collapse - the chevrons will update but the tree nodes won't collapse until you click one of the items and then they'll all collapse except for the one you just clicked. So the solution to use virtual scroll with expand all / collapse all does not work. I also have the same experience where expanding all the tree nodes is much slower after upgrading to a newer version of PrimeNG.
Originally posted by @lblu12555 in #14762
This issue has been automatically marked as stale due to a lack of activity. If this issue is still relevant to you, please leave a comment so we can keep it open. We apologize for not being able to prioritize it sooner. If you have any new information or questions, please share them in your comment!
Comment to keep this issue from becoming stale.
We are also experiencing this issue.