diff --git a/docs/components/home/Home.vue b/docs/components/home/Home.vue index 5d0b85ef..36c78613 100644 --- a/docs/components/home/Home.vue +++ b/docs/components/home/Home.vue @@ -17,7 +17,7 @@ onMounted(() => { diff --git a/docs/components/home/flows/Intro.vue b/docs/components/home/flows/Intro.vue index 4fee9cc3..a6c1fb09 100644 --- a/docs/components/home/flows/Intro.vue +++ b/docs/components/home/flows/Intro.vue @@ -184,6 +184,7 @@ onBeforeUnmount(stop) function scrollTo() { const el = document.getElementById('acknowledgement') + if (el) { el.scrollIntoView({ behavior: 'smooth' }) } @@ -192,7 +193,8 @@ function scrollTo() {