fix(components/status): Up & down jump due to content being added to the DOM (#3972)
parent
0d316bcfd2
commit
eea5c01a41
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue