Reset active user when leaving user list with mouse

This commit is contained in:
Pavel Djundik 2019-01-15 11:29:18 +02:00
parent b02c3b6c17
commit 40bf9ee8ba

View File

@ -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;