TreeGrid leftovers

Hello, I am using Vaadin 14 and i want to use TreeGrid to create files structure.
So I’ve got single column which is rendered by TemplateRenderer, in each row I’ve got vaadin icon (directory or file) and after that item name. I am using TreeDataProvider to provide data displayed on TreeGrid.

My problem is that when i clear all items from the TreeGrid, and fetch method from provider gets empty stream, TreeGrid displays leftovers from removed items.

Picture before clearing TreeGrid

![Picture before clearing TreeGrid]

Picture after clearing TreeGrid

![Picture after clearing TreeGrid]

Your description of the issue sounds similar to one here: