diff --git a/packages/core/src/modules/text.ts b/packages/core/src/modules/text.ts index 7974f5fe..6aa0ed78 100644 --- a/packages/core/src/modules/text.ts +++ b/packages/core/src/modules/text.ts @@ -1649,6 +1649,8 @@ export function getCellTextInfo( } cumWordHeight += size.height; + // stop processing if rest of the cell isnt visible + if (cumWordHeight >= cellHeight) break; } }