From 553d72bc4153dc5945978c9f7ece8bcb0040cccc Mon Sep 17 00:00:00 2001 From: "patrick.winkler" Date: Fri, 12 May 2017 12:37:32 +0200 Subject: [PATCH] Fixed grid height growing indefinitely with auto-resize. --- src/js/core/factories/Grid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/core/factories/Grid.js b/src/js/core/factories/Grid.js index 29462acc3a..547802f923 100644 --- a/src/js/core/factories/Grid.js +++ b/src/js/core/factories/Grid.js @@ -2199,7 +2199,7 @@ angular.module('ui.grid') } if (container.header) { - var headerHeight = container.headerHeight = getHeight(container.headerHeight, parseInt(gridUtil.outerElementHeight(container.header), 10)); + var headerHeight = container.headerHeight = getHeight(container.headerHeight, gridUtil.outerElementHeight(container.header)); // Get the "inner" header height, that is the height minus the top and bottom borders, if present. We'll use it to make sure all the headers have a consistent height var topBorder = gridUtil.getBorderSize(container.header, 'top');