diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index aeabeb7a51..57d7b39d7a 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -1608,6 +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()`. ### ``