Permalink
Browse files

Resizing the grid in response to resize events, when the grid is not

visible, is not helpful, and it only smashes the header.
  • Loading branch information...
1 parent 0f67fa1 commit bf82c57d10c4578d09bb08a2e34096637b8d739d @kriszyp committed Aug 28, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 List.js
View
@@ -93,7 +93,7 @@ define([
// window resize event handler, run in context of List instance
var winResizeHandler = function () {
- if (this._started) {
+ if (this._started && this.domNode.offsetParent) {
this.resize();
}
};

0 comments on commit bf82c57

Please sign in to comment.