From ebed9f3cc874983972332c67666ef5612421505c Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Fri, 14 Jan 2022 13:08:37 +0800 Subject: [PATCH] Update site/content/docs/02-template-syntax.md Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com> --- site/content/docs/02-template-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index 560f7ebd26..0f737894d3 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -1608,7 +1608,7 @@ All except `scrollX` and `scrollY` are readonly. ``` -> Note that only subsequent changes to the bound variable of `scrollX` and `scrollY` will cause scrolling automatically. The initial value will not cause scrolling as it brings accessibility issues. However if the scrolling behaviour is desired, call `scrollTo()` in `onMount()` instead. +> Note that the page will not be scrolled to the initial value to avoid accessibility issues. Only subsequent changes to the bound variable of `scrollX` and `scrollY` will cause scrolling. However, if the scrolling behaviour is desired, call `scrollTo()` in `onMount()`. ### ``