From 4715a5a2dcd3185031610d0cad98d0b786f7f4d6 Mon Sep 17 00:00:00 2001 From: Floyd Wang Date: Thu, 28 Aug 2025 17:16:35 +0800 Subject: [PATCH] table: Fix the border render issue on stripe table (#1179) | Before | After | | - | - | | SCR-20250828-pail | SCR-20250828-paev --- crates/ui/src/table/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/ui/src/table/mod.rs b/crates/ui/src/table/mod.rs index faa09316..9a1cb300 100644 --- a/crates/ui/src/table/mod.rs +++ b/crates/ui/src/table/mod.rs @@ -1045,7 +1045,9 @@ where let is_last_row = row_ix == rows_count - 1; let table_is_filled = extra_rows_count == 0; let need_render_border = if is_last_row { - if table_is_filled { + if is_selected { + true + } else if table_is_filled { false } else { !self.stripe