Hide auto completion menu when channel changes
This commit is contained in:
parent
83f3fe772a
commit
57ba119edb
@ -89,6 +89,11 @@ export default {
|
||||
channel: Object,
|
||||
},
|
||||
watch: {
|
||||
"channel.id"() {
|
||||
if (autocompletionRef) {
|
||||
autocompletionRef.hide();
|
||||
}
|
||||
},
|
||||
"channel.pendingMessage"() {
|
||||
this.setInputSize();
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user