diff --git a/src/vaadin-grid.html b/src/vaadin-grid.html index c9060a6ce..3412212e1 100644 --- a/src/vaadin-grid.html +++ b/src/vaadin-grid.html @@ -463,7 +463,9 @@ col._currentWidth = 0; // Note: _allCells only contains cells which are currently rendered in DOM col._allCells.forEach(c => { - col._currentWidth = Math.max(col._currentWidth, c.offsetWidth); + // Add 1px buffer to the offset width to avoid too narrow columns (sub-pixel rendering) + const cellWidth = c.offsetWidth + 1; + col._currentWidth = Math.max(col._currentWidth, cellWidth); }); }); // [write] Set column widths to fit widest measured content