diff --git a/src/components/ActionButton/ActionButton.vue b/src/components/ActionButton/ActionButton.vue index c08c0fc836..96ccb6a03f 100644 --- a/src/components/ActionButton/ActionButton.vue +++ b/src/components/ActionButton/ActionButton.vue @@ -69,9 +69,8 @@ This component is made to be used inside of the [Actions](#Actions) component sl showMessage(msg) { alert(msg) }, - async focusInput() { - await this.$nextTick() - this.$refs.input.focus() + focusInput() { + this.$nextTick(() => this.$refs.input.focus()) }, }, }