diff --git a/app/javascript/submission_form/form.vue b/app/javascript/submission_form/form.vue index a0a7940d..fc8dfa8e 100644 --- a/app/javascript/submission_form/form.vue +++ b/app/javascript/submission_form/form.vue @@ -69,7 +69,7 @@ id="expand_form_button" class="btn btn-neutral flex text-white absolute bottom-0 w-full mb-3 expand-form-button text-base" style="width: 96%; margin-left: 2%" - @click.prevent="[isFormVisible = true, scrollIntoField(currentField)]" + @click.prevent="[isFormVisible = true, $nextTick(() => scrollIntoField(currentField))]" >