flow-components icon indicating copy to clipboard operation
flow-components copied to clipboard

fix: TreeGrid children not showing after quick expand/collapse (24.9) [0.5 days]

Open mcollovati opened this issue 1 month ago • 3 comments

When a TreeGrid node was expanded and then collapsed before data arrived from a slow data provider, subsequent expansion attempts would show no children. This was caused by the grid's sub-cache retaining a size of 0 from the cancelled request.

The fix removes the sub-cache when collapsing an item with pending requests, allowing fresh data to be fetched on re-expand.

Fixes vaadin/flow#21731

mcollovati avatar Jan 15 '26 11:01 mcollovati

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jan 15 '26 11:01 CLAassistant

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Jan 15 '26 11:01 CLAassistant

This ticket/PR has been released with Vaadin 24.9.11.

vaadin-bot avatar Feb 09 '26 14:02 vaadin-bot