diff --git a/front/src/modules/ui/object/record-table/components/RecordTableV1.tsx b/front/src/modules/ui/object/record-table/components/RecordTableV1.tsx index 09cd14dfa..f6c740245 100644 --- a/front/src/modules/ui/object/record-table/components/RecordTableV1.tsx +++ b/front/src/modules/ui/object/record-table/components/RecordTableV1.tsx @@ -90,6 +90,7 @@ export const RecordTableV1 = ({ updateEntityMutation }: RecordTableV1Props) => { setRowSelectedState, resetTableRowSelection, useMapKeyboardToSoftFocus, + getIsSomeCellInEditMode, } = useRecordTable(); useMapKeyboardToSoftFocus(); @@ -117,11 +118,17 @@ export const RecordTableV1 = ({ updateEntityMutation }: RecordTableV1Props) => { }, }); + const handleMouseLeave = () => { + const isSomeCellInEditMode = getIsSomeCellInEditMode(); + if (isSomeCellInEditMode) return; + leaveTableFocus(); + }; + return ( -
+