angular-cn/packages/common/test
Kristiyan Kostadinov 1aebf165db fix(common): viewport scroller not finding elements inside the shadow DOM (#41644)
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
2021-04-15 12:47:05 -07:00
..
directives fix(common): avoid mutating context object in NgTemplateOutlet (#40360) 2021-02-23 08:14:02 -08:00
i18n feat(common): support ICU standard "stand alone day of week" with `DatePipe` (#40766) 2021-02-10 16:03:06 -08:00
location feat(common): add `historyGo` method to `Location` service (#38890) 2021-04-06 09:25:58 -07:00
pipes fix(core): ensure the type `T` of `EventEmitter<T>` can be inferred (#40644) 2021-02-03 09:07:29 -08:00
BUILD.bazel feat(common): allow any Subscribable in async pipe (#39627) 2020-11-23 08:28:11 -08:00
cookie_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
spies.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
viewport_scroller_spec.ts fix(common): viewport scroller not finding elements inside the shadow DOM (#41644) 2021-04-15 12:47:05 -07:00