From 745d4660d80c6eb00d682f70a283d1cebd8cba94 Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 23 May 2022 22:33:30 +0200 Subject: [PATCH] fix: properly reference task input textarea from parent component Resolves #1993 --- src/views/list/ListList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/list/ListList.vue b/src/views/list/ListList.vue index 4c500a17..6a062baa 100644 --- a/src/views/list/ListList.vue +++ b/src/views/list/ListList.vue @@ -58,7 +58,7 @@ > @@ -262,7 +262,7 @@ export default defineComponent({ }, 200) }, focusNewTaskInput() { - this.$refs.newTaskInput.focus() + this.$refs.addTask.$refs.newTaskInput.focus() }, updateTaskList( task ) { if ( this.isAlphabeticalSorting ) {