From f392f31a13d9b2535a12c655caf08c2cd2471f94 Mon Sep 17 00:00:00 2001 From: Srujan Gaddam Date: Wed, 2 Feb 2022 22:08:35 +0000 Subject: [PATCH] [dart:html] Add Element.scrollIntoViewIfNeeded to CHANGELOG Change-Id: Ic7c2b3cffa62b66d5c66713958e3626fa67e1945 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/231331 Auto-Submit: Srujan Gaddam Reviewed-by: Kevin Moore Commit-Queue: Kevin Moore --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ea983b143a..db965d78404 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,14 @@ - Add `ref=` and `[]=` methods to the `StructPointer` and `UnionPointer` extensions. They copy a compound instance into a native memory region. +#### `dart:html` + +- Add `scrollIntoViewIfNeeded` to `Element`. Previously, this method was nested + within `scrollIntoView` based on the `ScrollAlignment` value. `scrollIntoView` + is unchanged for now, but users who intend to use the native + `Element.scrollIntoViewIfNeeded` should use the new `scrollIntoViewIfNeeded` + definition instead. + #### `dart:indexed_db` - `IdbFactory.supportsDatabaseNames` has been deprecated. It will always return