From 2ffbe017c27a0b47bdbde0034309c10d91d903b7 Mon Sep 17 00:00:00 2001 From: Lucas Bordeau Date: Wed, 17 Sep 2025 18:56:49 +0200 Subject: [PATCH] Fix focused row group section border bottom (#14577) This PR fixes the focused row that was making the group section border bottom disappear if collapsed. In https://github.com/twentyhq/core-team-issues/issues/1490, fixes : - Section border-bottom disappear if the focus is on the first row of a collapsed section --- .../components/RecordTableRecordGroupSection.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-section/components/RecordTableRecordGroupSection.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-section/components/RecordTableRecordGroupSection.tsx index 95eb2a0393..512ab0b686 100644 --- a/packages/twenty-front/src/modules/object-record/record-table/record-table-section/components/RecordTableRecordGroupSection.tsx +++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-section/components/RecordTableRecordGroupSection.tsx @@ -198,7 +198,8 @@ export const RecordTableRecordGroupSection = () => { const isFirstRowActiveOrFocused = isFirstRowActive || isFirstRowFocused; - const shouldDisplayBorderBottom = !isFirstRowActiveOrFocused; + const shouldDisplayBorderBottom = + !isFirstRowActiveOrFocused || !isRecordGroupTableSectionToggled; if (!isDefined(recordGroup)) { return null;