From 0376d0b7e07445b0a2ae817b30ec3b2ec1b37fde Mon Sep 17 00:00:00 2001 From: Lucas Bordeau Date: Fri, 24 Nov 2023 15:41:09 +0100 Subject: [PATCH] Fixed soft focus init (#2696) --- .../hooks/useMoveSoftFocusToCurrentCellOnHover.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/front/src/modules/ui/object/record-table/record-table-cell/hooks/useMoveSoftFocusToCurrentCellOnHover.ts b/front/src/modules/ui/object/record-table/record-table-cell/hooks/useMoveSoftFocusToCurrentCellOnHover.ts index b358e3612..31a9320d7 100644 --- a/front/src/modules/ui/object/record-table/record-table-cell/hooks/useMoveSoftFocusToCurrentCellOnHover.ts +++ b/front/src/modules/ui/object/record-table/record-table-cell/hooks/useMoveSoftFocusToCurrentCellOnHover.ts @@ -28,7 +28,8 @@ export const useMoveSoftFocusToCurrentCellOnHover = () => { if ( currentHotkeyScope.scope !== TableHotkeyScope.TableSoftFocus && - currentHotkeyScope.scope !== TableHotkeyScope.CellEditMode + currentHotkeyScope.scope !== TableHotkeyScope.CellEditMode && + currentHotkeyScope.scope !== TableHotkeyScope.Table ) { return; }