diff --git a/packages/forms/resources/views/components/wizard.blade.php b/packages/forms/resources/views/components/wizard.blade.php index 23720f9814..31baa81ae4 100644 --- a/packages/forms/resources/views/components/wizard.blade.php +++ b/packages/forms/resources/views/components/wizard.blade.php @@ -36,7 +36,9 @@ }, scrollToTop: function () { - this.$root.scrollIntoView({ behavior: 'smooth', block: 'start' }) + this.$nextTick(() => + this.$root.scrollIntoView({ behavior: 'smooth', block: 'start' }), + ) }, autofocusFields: function () {