angular-docs-cn/packages/common
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
..
http fix(common): temporarily re-export and deprecate `XhrFactory` (#41393) 2021-04-01 11:26:11 -07:00
locales build: update .bazelversion (#40579) 2021-01-26 11:35:54 -08:00
src fix(common): viewport scroller not finding elements inside the shadow DOM (#41644) 2021-04-15 12:47:05 -07:00
test fix(common): viewport scroller not finding elements inside the shadow DOM (#41644) 2021-04-15 12:47:05 -07:00
testing feat(common): add `historyGo` method to `Location` service (#38890) 2021-04-06 09:25:58 -07:00
upgrade docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
BUILD.bazel build: provide full paths to `ts_api_guardian_test_npm_package` and `ts_api_guardian_test` (#36034) 2020-03-12 09:49:00 -07:00
PACKAGE.md docs: add api doc to sub-packages (#33801) 2019-11-20 14:48:50 -08:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json feat(common): update supported range of node versions (#41544) 2021-04-14 09:40:18 -07:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00