From 792a513bb5970f1740ed0502589f76315570d99e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Sun, 1 Sep 2024 09:26:21 +0200 Subject: [PATCH] fix: Fix focus and emptycontent titles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/components/navigation/AppNavigationAddBoard.vue | 6 +++--- src/views/CreateNewCardCustomPicker.vue | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/navigation/AppNavigationAddBoard.vue b/src/components/navigation/AppNavigationAddBoard.vue index 5ef11fb83..b6d3615e5 100644 --- a/src/components/navigation/AppNavigationAddBoard.vue +++ b/src/components/navigation/AppNavigationAddBoard.vue @@ -69,12 +69,12 @@ export default { color: randomColor(), } }, - mounted() { - this.$refs.inputField.focus() - }, methods: { startCreateBoard(e) { this.editing = true + this.$nextTick(() => { + this.$refs?.inputField.focus() + }) }, async createBoard(e) { this.loading = true diff --git a/src/views/CreateNewCardCustomPicker.vue b/src/views/CreateNewCardCustomPicker.vue index 7fc4187b6..052e7e9e0 100644 --- a/src/views/CreateNewCardCustomPicker.vue +++ b/src/views/CreateNewCardCustomPicker.vue @@ -93,7 +93,7 @@ -