Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(router): Scroller should scroll as soon as change detection compl… #60086

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

atscott
Copy link
Contributor

@atscott atscott commented Feb 24, 2025

…etes

Using setTimeout to delay scrolling can result in scrolling in the next frame and cause noticeable flicker. This commit races rAF and timeout to ensure scroll happens before the render.

fixes #53985

…etes

Using `setTimeout` to delay scrolling can result in scrolling in the
next frame and cause noticeable flicker. This commit races rAF and
timeout to ensure scroll happens before the render.

fixes angular#53985
@atscott atscott added the target: major This PR is targeted for the next major release label Feb 24, 2025
@ngbot ngbot bot added this to the Backlog milestone Feb 24, 2025
@atscott atscott added the action: merge The PR is ready for merge by the caretaker label Feb 25, 2025
@kirjs
Copy link
Contributor

kirjs commented Feb 25, 2025

This PR was merged into the repository by commit db2f2d9.

The changes were merged into the following branches: main

@kirjs kirjs closed this in db2f2d9 Feb 25, 2025
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Mar 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: router target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flickering during scroll restoration with scrollPositionRestoration: 'enabled' in Angular
3 participants