Skip to content

Commit

Permalink
Merge pull request #2907 from weaveworks/2898-fix-scroll-height-of-nu…
Browse files Browse the repository at this point in the history
…ll-error

Check whether tableContent ref is present
  • Loading branch information
fbarl authored Oct 23, 2017
2 parents 4872a85 + 1d665a5 commit 93758ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class NodeDetailsTable extends React.Component {
this.focusState = {
focusedNode: node,
focusedRowIndex: rowIndex,
tableContentMinHeightConstraint: this.tableContent.scrollHeight,
tableContentMinHeightConstraint: this.tableContent && this.tableContent.scrollHeight,
};
}

Expand Down

0 comments on commit 93758ab

Please sign in to comment.