We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eec9067 commit d272fa3Copy full SHA for d272fa3
src/js/core/factories/GridRenderContainer.js
@@ -300,7 +300,7 @@ angular.module('ui.grid')
300
};
301
302
GridRenderContainer.prototype.getVerticalScrollLength = function getVerticalScrollLength() {
303
- return this.getCanvasHeight() - this.getViewportHeight() + this.grid.scrollbarHeight;
+ return this.getCanvasHeight() - this.getViewportHeight() + this.grid.scrollbarHeight !== 0 ? this.getCanvasHeight() - this.getViewportHeight() + this.grid.scrollbarHeight : -1;
304
305
306
GridRenderContainer.prototype.getHorizontalScrollLength = function getHorizontalScrollLength() {
0 commit comments