fix(components/status): Up & down jump due to content being added to the DOM (#3972)

This commit is contained in:
Sorin Davidoi authored and Eugen Rochko committed 2017-06-27 18:43:53 +02:00
1 parent 12e7c81dd8
commit 64d9c016bd
1 file changed
+1 -1
+1 -1
View File
@@ -124,7 +124,7 @@ export default class Status extends ImmutablePureComponent {
saveHeight = () => {
if (this.node && this.node.children.length !== 0) {
this.height = this.node.clientHeight;
this.height = this.node.getBoundingClientRect().height;
}
}