angular/packages/common/src
Kristiyan Kostadinov 3aa92355ef 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:07 -07:00
..
directives docs: rewrite structural-directives.md (#40015) 2021-03-01 15:32:27 -08:00
i18n docs: fix some typos in angular.io examples (#41093) 2021-03-05 15:08:12 -08:00
location docs(router): clarify how base href is used to construct targets (#38123) 2020-07-29 13:34:02 -07:00
pipes docs(common): change misspelled constant (#41136) 2021-03-09 08:57:41 -08:00
common.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
common_module.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
cookie.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
dom_adapter.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
dom_tokens.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
platform_id.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
private_export.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
version.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
viewport_scroller.ts fix(common): viewport scroller not finding elements inside the shadow DOM (#41644) 2021-04-15 12:47:07 -07:00