Grid rows of variable height are overlapping when using scrollTo #7215
Labels
bug
Something isn't working
Severity: Major
vaadin-grid
waiting for author
Further information is requested
Description
When using the example snippet below, clicking one of the rendered buttons will cause the taller Grid rows to overlap with the surrounding ones so that either the contents of the taller row, or the row below it, are only partially visible. This behaviour is very reliably reproduced on Firefox and Safari, a bit less so on Chrome, but is also happening there most of the time.
As a workaround, adding a call to
grid.recalculateColumnWidths();
as the last thing in the button's click listener seems to help.Expected outcome
The row heights should be properly managed even when scrollTo is used right after populating the Grid.
Minimal reproducible example
Steps to reproduce
Environment
Vaadin version(s): 24.6.6
OS: macOS, but doesn't seem to be OS dependent. Or browser.
Browsers
Issue is not browser related
The text was updated successfully, but these errors were encountered: