mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
3aa92355ef
The `ViewportScroller` figures out which element to scroll into view using `document.getElementById`. The problem is that it won't find elements inside the shadow DOM. These changes add some extra logic that goes through all the shadow roots to look for the element. Fixes #41470. PR Close #41644