table: Fix the border render issue on stripe table (#1179)

| Before | After |
| - | - |
| <img width="426" height="134" alt="SCR-20250828-pail"
src="https://github.com/user-attachments/assets/1c5f8aa7-a55e-4a8f-a6db-1010303586d1"
/> | <img width="424" height="125" alt="SCR-20250828-paev"
src="https://github.com/user-attachments/assets/dc9950f5-c1a8-4b06-847a-eedb0cd67f60"
/>
This commit is contained in:
Floyd Wang 2025-08-28 17:16:35 +08:00 committed by GitHub
parent bafc9fed12
commit 4715a5a2dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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