more precise height detection

This commit is contained in:
Henry Jameson 2026-08-24 17:35:13 +03:00
commit fdea276b80

View file

@ -622,7 +622,7 @@ const conversation = {
}, },
updateVirtualHeight() { updateVirtualHeight() {
this.$nextTick(() => { this.$nextTick(() => {
this.virtualHeight = this.$refs.body.clientHeight this.virtualHeight = this.$refs.body.getBoundingClientRect().height
this.$emit('update:virtualHeight', { this.$emit('update:virtualHeight', {
id: this.status.id, id: this.status.id,
height: this.virtualHeight, height: this.virtualHeight,