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
This commit is contained in:
Lucas Bordeau
2025-09-17 18:56:49 +02:00
committed by GitHub
parent f3adce0773
commit 2ffbe017c2
@@ -198,7 +198,8 @@ export const RecordTableRecordGroupSection = () => {
const isFirstRowActiveOrFocused = isFirstRowActive || isFirstRowFocused;
const shouldDisplayBorderBottom = !isFirstRowActiveOrFocused;
const shouldDisplayBorderBottom =
!isFirstRowActiveOrFocused || !isRecordGroupTableSectionToggled;
if (!isDefined(recordGroup)) {
return null;