Reset scrolledToBottom when channel changes
This commit is contained in:
parent
7e5e031ea8
commit
efdf11dcae
@ -115,8 +115,10 @@ export default {
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
"channel.messages"() {
|
||||
"channel.id"() {
|
||||
this.scrolledToBottom = true;
|
||||
},
|
||||
"channel.messages"() {
|
||||
this.keepScrollPosition();
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user