mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit fixes a regression from "fix(common): ensure
scrollRestoration is writable (#30630)" that caused scrolling to not
happen at all in browsers that do not support scroll restoration. The
issue was that `supportScrollRestoration` was updated to return `false`
if a browser did not have a writable `scrollRestoration`. However, the
previous behavior was that the function would return `true` if
`window.scrollTo` was defined. Every scrolling function in the
`ViewportScroller` used `supportScrollRestoration` and, with the update
in
|
||
|---|---|---|
| .. | ||
| directives | ||
| i18n | ||
| location | ||
| pipes | ||
| BUILD.bazel | ||
| cookie_spec.ts | ||
| spies.ts | ||
| viewport_scroller_spec.ts | ||