more precise height detection
This commit is contained in:
parent
121038dc96
commit
fdea276b80
1 changed files with 1 additions and 1 deletions
|
|
@ -622,7 +622,7 @@ const conversation = {
|
|||
},
|
||||
updateVirtualHeight() {
|
||||
this.$nextTick(() => {
|
||||
this.virtualHeight = this.$refs.body.clientHeight
|
||||
this.virtualHeight = this.$refs.body.getBoundingClientRect().height
|
||||
this.$emit('update:virtualHeight', {
|
||||
id: this.status.id,
|
||||
height: this.virtualHeight,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue