From 84c3cf01ce9b96325a5385b54c126536304b5ff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Hatcher?= Date: Fri, 4 Jul 2025 02:22:27 +0200 Subject: [PATCH] FIX: Checks also that the sheet is the same Fixes #395 --- webapp/IronCalc/src/components/Worksheet/usePointer.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/IronCalc/src/components/Worksheet/usePointer.ts b/webapp/IronCalc/src/components/Worksheet/usePointer.ts index 3fa1b39..6b33713 100644 --- a/webapp/IronCalc/src/components/Worksheet/usePointer.ts +++ b/webapp/IronCalc/src/components/Worksheet/usePointer.ts @@ -179,6 +179,7 @@ const usePointer = (options: PointerSettings): PointerEvents => { if (cell) { if (editingCell) { if ( + model.getSelectedSheet() === editingCell.sheet && cell.row === editingCell.row && cell.column === editingCell.column ) {