mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
66ffeca2de
Using `setTimeout` to delay scrolling can result in scrolling in the next frame and cause noticeable flicker. This commit scrolls as soon as the next render happens (or in `setTimeout` if a render does not happen before then). fixes #53985 PR Close #55105