Reset active user when leaving user list with mouse
This commit is contained in:
parent
b02c3b6c17
commit
40bf9ee8ba
@ -1,7 +1,8 @@
|
||||
<template>
|
||||
<aside
|
||||
ref="userlist"
|
||||
class="userlist">
|
||||
class="userlist"
|
||||
@mouseleave="removeHoverUser">
|
||||
<div class="count">
|
||||
<input
|
||||
ref="input"
|
||||
@ -142,6 +143,9 @@ export default {
|
||||
hoverUser(user) {
|
||||
this.activeUser = user;
|
||||
},
|
||||
removeHoverUser() {
|
||||
this.activeUser = null;
|
||||
},
|
||||
navigateUserList(direction) {
|
||||
let users = this.channel.users;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user