From 3f2a5f8d22405a0bd6c8ce2684d73775b0a30d2b Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Sat, 8 Jan 2022 02:03:36 +0800 Subject: [PATCH] Rephrase docs --- 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 57d7b39d7a..560f7ebd26 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 be scrolled automatically. To scroll initially, use `scrollTo()` in `onMount()`. +> 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. ### ``