From c89b05248906aec3c77fcdd01a0ce68a6416d3f2 Mon Sep 17 00:00:00 2001 From: Nico Hoffmann Date: Mon, 22 Jul 2024 15:28:11 +0200 Subject: [PATCH] Fix `focus` helper for non-native inputs Fixes #6347 --- panel/src/components/Forms/Field/BlocksField.vue | 1 + panel/src/components/Forms/Field/LayoutField.vue | 1 + panel/src/components/Forms/Input/TagsInput.vue | 2 +- panel/src/helpers/focus.js | 11 +++++------ 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/panel/src/components/Forms/Field/BlocksField.vue b/panel/src/components/Forms/Field/BlocksField.vue index f06e707900..cfbbfa6aba 100644 --- a/panel/src/components/Forms/Field/BlocksField.vue +++ b/panel/src/components/Forms/Field/BlocksField.vue @@ -10,6 +10,7 @@ icon="add" variant="filled" size="xs" + class="input-focus" @click="$refs.blocks.choose(value.length)" />