mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-23 04:08:06 +01:00
fix(components/status): Up & down jump due to content being added to the DOM (#3972)
This commit is contained in:
parent
12e7c81dd8
commit
64d9c016bd
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue