Open javier-godoy opened 1 year ago
This is essentially a duplicate of #1064 and #3363 - as mentioned in https://github.com/vaadin/flow-components/issues/3363#issuecomment-1161854777, in fact this is a design limitation.
Possible workaround by @tomivirkki from the discussion in https://github.com/vaadin/flow-components/issues/3363#issuecomment-1266885463 (see the whole discussion for more details).
@web-padawan This is actually a bug report complaining that https://github.com/vaadin/flow-components/issues/3363#issuecomment-1266885463 by @tomivirkki does not work as expected.
You can fix the issue in your app by excluding the last column (the frozen one), from the list of columns to join instead of joining every column ... only join the columns before the frozen one
In the reproducible example I excluded the frozen columns from the joined group. The rightmost (7th) column is frozen, but it is not part of the joined group, which only takes the first 6 unfrozen columns:
footerCell = fr.join(grid.getColumns().stream().limit(6).toArray(Grid.Column[]::new))
^^^^^^^^
This is also not a duplicate of #1064 (joining cells from frozen and unfrozen columns results in weird horizontal scrolling) because I'm not joining cells from both "frozen and unfrozen columns", however the horizontal scrolling is weird.
Description
I have a grid with 7 columns. The last column is frozen, and the left-most six columns (not frozen) have a joined footer. When the grid is horizontally scrolled, the last column kind of separate from the rest of the grid (notice how the row borders are broken before that column)
Expected outcome
I would expect that Grid scrolls nicely, because frozen columns are excluded from the the joined group.
Minimal reproducible example
Example:
Steps to reproduce
Example:
Environment
Vaadin version(s): 24.0.5
Browsers
No response