From 7fa3f9efcb725e881e1b7821ff80309ec8330230 Mon Sep 17 00:00:00 2001 From: Aresn Date: Tue, 8 May 2018 11:16:17 +0800 Subject: [PATCH] prevent space to scroll page --- src/components/tabs/tabs.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/tabs/tabs.vue b/src/components/tabs/tabs.vue index 0cfc3a7..c47ae44 100644 --- a/src/components/tabs/tabs.vue +++ b/src/components/tabs/tabs.vue @@ -7,7 +7,7 @@ tabindex="0" ref="navContainer" @keydown="handleTabKeyNavigation" - @keydown.space="handleTabKeyboardSelect" + @keydown.space.prevent="handleTabKeyboardSelect" >
-- libgit2 0.21.4