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