angular-docs-cn/packages/common
Andrew Scott 4eac7e6436 fix(router): Router should focus element after scrolling (#40241)
According to the [spec](https://html.spec.whatwg.org/#scroll-to-fragid),
we should attempt to set the browser focus after scrolling to a
fragment. Note that this change does not exactly follow the robust steps
outlined in the spec by finding a fallback target if the original is not
focusable. Instead, we simply attempt to focus the element by calling
`focus` on it, which will do nothing if the element is not focusable.

fixes #30067

PR Close #40241
2021-01-05 09:48:48 -08:00
..
http docs(common): fix typo in HttpClient docs (#39904) 2020-12-02 11:16:43 -08:00
locales fix(common): update locales using new CLDR data (#39343) 2020-10-20 13:22:37 -07:00
src fix(router): Router should focus element after scrolling (#40241) 2021-01-05 09:48:48 -08:00
test test(router): update scroller tests to use real objects (#40241) 2021-01-05 09:48:48 -08:00
testing fix(common): prevent duplicate URL change notifications (#37459) 2020-06-09 08:26:34 -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 Revert "build: remove wombot proxy registry from package.jsons for release (#37378)" (#37495) 2020-06-10 08:21:45 -07:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00