angular/aio/src/app
George Kalpakas 43ac02e566 fix(docs-infra): scroll to top when navigating to new page via address bar (#33344)
Previously, when navigating to a new page via a link, the scroll
position was correctly restored to 0, but navigating to a new page via
typing the URL in the browser address bar keeps the old scroll position.

This commit ensures that the scroll position is restored to 0 whenever
the `ScrollService` is instantiated anew (i.e. new page navigation). The
old behavior of retaining the scroll position on reload is kept by
storing the old URL when leaving a page and only applying the stored
scroll position if the new URL matches the stored one.

Fixes #33260

PR Close #33344
2019-10-23 09:12:02 -07:00
..
custom-elements build(docs-infra): update @angular/* to 9.0.0-next.10 (#33099) 2019-10-15 16:48:29 +00:00
documents refactor(docs-infra): fix some linting warnings (#32980) 2019-10-10 13:56:14 -07:00
layout fix(ivy): ensure errors are thrown during checkNoChanges for style/class bindings (#33103) 2019-10-17 16:46:49 -04:00
navigation refactor(docs-infra): fix some linting warnings (#32980) 2019-10-10 13:56:14 -07:00
search fix(docs-infra): Handle search criteria from Chrome search providers (#30345) 2019-05-09 11:21:11 -07:00
shared fix(docs-infra): scroll to top when navigating to new page via address bar (#33344) 2019-10-23 09:12:02 -07:00
sw-updates build(docs-infra): upgrade tslint to 5.15.0 and codelyzer to 5.0.0 (#29926) 2019-04-25 12:32:49 -07:00
app.component.html refactor(docs-infra): replace mousewheel event with wheel event (#32980) 2019-10-10 13:56:14 -07:00
app.component.spec.ts fix(docs-infra): scroll to top when navigating to new page via address bar (#33344) 2019-10-23 09:12:02 -07:00
app.component.ts fix(docs-infra): scroll to top when navigating to new page via address bar (#33344) 2019-10-23 09:12:02 -07:00
app.module.ts fix(docs-infra): ensure material icons are cached for offline access (#27250) 2018-12-05 13:26:27 -08:00