From 15af0eff25d74bc843a2cddda9c3e85b32abf6f5 Mon Sep 17 00:00:00 2001 From: Igor Zotov Date: Fri, 24 Oct 2025 08:03:12 +0000 Subject: [PATCH] [se] Fix bug 76100 (#1581) Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/sdkjs/pulls/1581 --- cell/model/clipboard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cell/model/clipboard.js b/cell/model/clipboard.js index 46090b9008..86ec9b5850 100644 --- a/cell/model/clipboard.js +++ b/cell/model/clipboard.js @@ -889,10 +889,10 @@ var maxRow = 0; var maxCol = 0; range3._foreachNoEmpty(function (cell) { - if (cell.nCol > maxCol) { + if (cell.nCol > maxCol && !cell.ws.getColHidden(cell.nCol)) { maxCol = cell.nCol; } - if (cell.nRow > maxRow) { + if (cell.nRow > maxRow && !cell.ws.getRowHidden(cell.nRow)) { maxRow = cell.nRow; } });