From 049e9a1680e11f2b4a27e08ee47f8a1dd6c1107b Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Sun, 24 Nov 2019 15:45:56 +0200 Subject: [PATCH] Prevent cursor moving when navigating user list --- client/components/ChatUserList.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/client/components/ChatUserList.vue b/client/components/ChatUserList.vue index 769139ba..890b83fc 100644 --- a/client/components/ChatUserList.vue +++ b/client/components/ChatUserList.vue @@ -148,6 +148,7 @@ export default { // Prevent propagation to stop global keybind handler from capturing pagedown/pageup // and redirecting it to the message list container for scrolling event.stopImmediatePropagation(); + event.preventDefault(); let users = this.channel.users;