From 427e2bf9588f6b70b21845a3b46c720b4672b617 Mon Sep 17 00:00:00 2001 From: Ben McIntyre Date: Wed, 25 Apr 2018 15:17:37 +0930 Subject: [PATCH] left a line out of the changes from PR 232 --- slick.grid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slick.grid.js b/slick.grid.js index 56451f58..ea867652 100644 --- a/slick.grid.js +++ b/slick.grid.js @@ -1987,7 +1987,7 @@ if (typeof Slick === "undefined") { var oldViewportHasVScroll = viewportHasVScroll; // with autoHeight, we do not need to accommodate the vertical scroll bar - viewportHasVScroll = !options.autoHeight && (numberOfRows * options.rowHeight > viewportH); + viewportHasVScroll = options.alwaysShowVerticalScroll || !options.autoHeight && (numberOfRows * options.rowHeight > viewportH); viewportHasHScroll = (canvasWidth > viewportW - scrollbarDimensions.width); makeActiveCellNormal();