From 7a919ffcf43889488fd9ee7feee266ede376f3de Mon Sep 17 00:00:00 2001 From: ghiscoding Date: Mon, 13 Jul 2026 10:52:04 -0400 Subject: [PATCH] fix(core): probe positioned-child limit in getMaxSupportedCssHeight --- packages/common/src/core/slickGrid.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/common/src/core/slickGrid.ts b/packages/common/src/core/slickGrid.ts index 26a563b4a..1db986dee 100755 --- a/packages/common/src/core/slickGrid.ts +++ b/packages/common/src/core/slickGrid.ts @@ -1517,15 +1517,18 @@ export class SlickGrid = Column, O e ? this._options.ffMaxSupportedCssHeight : this._options.maxSupportedCssHeight; const div = createDomElement('div', { style: { display: 'hidden' } }, document.body); + const marker = createDomElement('div', { style: { position: 'absolute' } }, div); let condition = true; while (condition) { const test = supportedHeight * 2; Utils.height(div, test); const height = Utils.height(div); + marker.style.top = `${test - 1}px`; + const offsetTop = marker.offsetTop; /* v8 ignore else */ - if (test > testUpTo! || height !== test) { + if (test > testUpTo! || height !== test || offsetTop !== test - 1) { condition = false; break; } else {