Skip to content

Commit da82d4f

Browse files
committed
Ensure vertical lines are drawn even on final right pixel
1 parent 1fbe7f5 commit da82d4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/data-grid/data-grid-render.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ function drawGridLines(
427427
if (c.width === 0) continue;
428428
x += c.width;
429429
const tx = c.sticky ? x : x + translateX;
430-
if (tx >= minX && tx <= maxX - 1 && verticalBorder(index + 1)) {
430+
if (tx >= minX && tx <= maxX && verticalBorder(index + 1)) {
431431
toDraw.push({
432432
x1: tx,
433433
y1: Math.max(groupHeaderHeight, minY),

0 commit comments

Comments
 (0)