From eebdcbd84c9004e2589e96b9c4502be9badfb1e5 Mon Sep 17 00:00:00 2001 From: ghiscoding Date: Thu, 24 Jun 2021 17:17:43 -0400 Subject: [PATCH] fix: broken UI when loading grid from hidden div/tab --- slick.grid.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/slick.grid.js b/slick.grid.js index b6942a51..a645a74f 100644 --- a/slick.grid.js +++ b/slick.grid.js @@ -3618,7 +3618,8 @@ if (typeof Slick === "undefined") { } $paneTopL.css({ - 'top': $paneHeaderL.height(), 'height': paneTopH + 'top': $paneHeaderL.height() || (options.showHeaderRow ? options.headerRowHeight : 0) + (options.showPreHeaderPanel ? options.preHeaderPanelHeight : 0), + 'height': paneTopH }); var paneBottomTop = $paneTopL.position().top