Skip to content

Commit

Permalink
fix(uiGridHeader) stop preserving explicit header heights when styles…
Browse files Browse the repository at this point in the history
… are rebuilt.

fixes #3705
  • Loading branch information
ndudenhoeffer authored and mportuga committed Nov 13, 2017
1 parent b036609 commit 76e18d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/core/factories/Grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -2148,8 +2148,8 @@ angular.module('ui.grid')
}

if (container.header || container.headerCanvas) {
container.explicitHeaderHeight = container.explicitHeaderHeight || null;
container.explicitHeaderCanvasHeight = container.explicitHeaderCanvasHeight || null;
container.explicitHeaderHeight = null;
container.explicitHeaderCanvasHeight = null;

containerHeadersToRecalc.push(container);
}
Expand Down

0 comments on commit 76e18d6

Please sign in to comment.