You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs-infra: scroll position restoration improvements #28332
Scroll position restoration was added to the angular.io app in #28037.
Here are some possible improvements to consider:
Add throttling/debouncing in storing scroll position on scroll here, since it is relatively expensive and the scroll event can be emitted several times per second. See, also, this comment.
Document under what circumstances checking for manual scroll restoration support here may throw.
Scroll the scroll position retrieved from history state in sessionStoragehere, to avoid a race-condition with navigating forward/back and immediately reloading. See, also, this comment.
Remove unnecessary(?) try/catch block here. See, also, this comment.
Activity
gkalpak commentedon Feb 6, 2019
Fixed by #28368.
angular-automatic-lock-bot commentedon Sep 14, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.