mirror of
https://github.com/Troplo/Colubrina.git
synced 2024-11-22 19:27:55 +11:00
Update CommunicationsChat.vue
This commit is contained in:
parent
3d7df1c98a
commit
91386b68c0
1 changed files with 26 additions and 24 deletions
|
@ -1115,6 +1115,7 @@ export default {
|
||||||
this.focusInput()
|
this.focusInput()
|
||||||
},
|
},
|
||||||
autoScroll(smooth = false) {
|
autoScroll(smooth = false) {
|
||||||
|
this.$nextTick(() => {
|
||||||
if (!this.avoidAutoScroll) {
|
if (!this.avoidAutoScroll) {
|
||||||
try {
|
try {
|
||||||
const lastIndex = this.messages.length - 1
|
const lastIndex = this.messages.length - 1
|
||||||
|
@ -1141,6 +1142,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
getMessages() {
|
getMessages() {
|
||||||
this.loadingMessages = true
|
this.loadingMessages = true
|
||||||
|
|
Loading…
Reference in a new issue