gearheads
/
mastodon
Archived
2
0
Fork 0

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

gh/stable
Sorin Davidoi 2017-06-27 18:43:53 +02:00 committed by Eugen Rochko
parent 12e7c81dd8
commit 64d9c016bd
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ export default class Status extends ImmutablePureComponent {
saveHeight = () => { saveHeight = () => {
if (this.node && this.node.children.length !== 0) { if (this.node && this.node.children.length !== 0) {
this.height = this.node.clientHeight; this.height = this.node.getBoundingClientRect().height;
} }
} }