From efb6967e6a95e449c4c7b0a132114d9b58fcc222 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaqu=C3=ADn=20S=C3=A1nchez?= Date: Sat, 24 Feb 2024 19:24:55 +0100 Subject: [PATCH] fix(ui): help preview tabindex, auto focus and buttons (#2616) --- components/help/HelpPreview.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/components/help/HelpPreview.vue b/components/help/HelpPreview.vue index ca869b67..43e8bf24 100644 --- a/components/help/HelpPreview.vue +++ b/components/help/HelpPreview.vue @@ -2,12 +2,14 @@ const emit = defineEmits<{ (event: 'close'): void }>() + +const vAutoFocus = (el: HTMLElement) => el.focus()