Skip to content

Commit

Permalink
left a line out of the changes from PR 232
Browse files Browse the repository at this point in the history
  • Loading branch information
6pac committed Apr 25, 2018
1 parent e33bfc8 commit 427e2bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slick.grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 427e2bf

Please sign in to comment.