Actual behavior
If you collapse and expand the detail handler, the position is faulty.
Minimal reproducible example
```private TreeGrid createTestGrid() {
TreeGrid
TreeData
classGrid.addColumn(row -> row.getSimpleName()).setId("simpleName");
classGrid.setDetailsGenerator(row -> new Label("details for " + row.getSimpleName()));
treeData.clear();
Class listClazz = List.class;
treeData.addItem(null, listClazz);
Class arrayListClazz = ArrayList.class;
treeData.addItem(listClazz, arrayListClazz);
classGrid.expand(listClazz);
Class setClazz = Set.class;
treeData.addItem(null, setClazz);
Class hashSetClazz = HashSet.class;
treeData.addItem(setClazz, hashSetClazz);
classGrid.expand(setClazz);
classGrid.setDetailsVisible(listClazz, true);
classGrid.setDetailsVisible(arrayListClazz, true);
classGrid.setDetailsVisible(setClazz, true);
classGrid.setDetailsVisible(hashSetClazz, true);
return classGrid;
}
```


Your description is very similar to a Grid bug https://github.com/vaadin/framework/issues/11139 that should have been fixed by this https://github.com/vaadin/framework/pull/11154
If it has been fixed, its not working for vaadin 8.6.0.
Please try the example code and see for yourself.
I also still have the same issues in the grid in 8.6.0 as described here https://github.com/vaadin/framework/issues/11139
currently shipped with 8.9.0.beta3.
final release will be in two weeks.
Its working great now!
Thanks a lot
Most helpful comment
Its working great now!
Thanks a lot