Skip to content

refactor(core): Update determineLongestAnimation to account for playback rate#67656

Merged
mattrbeck merged 1 commit into
angular:mainfrom
thePunderWoman:longest-animation-rate
Mar 12, 2026
Merged

refactor(core): Update determineLongestAnimation to account for playback rate#67656
mattrbeck merged 1 commit into
angular:mainfrom
thePunderWoman:longest-animation-rate

Conversation

@thePunderWoman
Copy link
Copy Markdown
Contributor

This updates the determineLongestAnimation code to also calculate the playback rate in with the duration, which should also account for timing when testing with playback rates changed in devtools.

@thePunderWoman thePunderWoman added action: review The PR is still awaiting reviews from at least one requested reviewer area: core Issues related to the framework runtime target: patch This PR is targeted for the next patch release labels Mar 12, 2026
@ngbot ngbot Bot modified the milestone: Backlog Mar 12, 2026
…ack rate

This updates the determineLongestAnimation code to also calculate the playback rate in with the duration, which should also account for timing when testing with playback rates changed in devtools.
@atscott
Copy link
Copy Markdown
Contributor

atscott commented Mar 12, 2026

AGENT: This looks fantastic! The logic correctly accounts for playbackRate when evaluating animation duration, and the addition of the comprehensive test suite for determineLongestAnimation is really appreciated. Great work!

@thePunderWoman thePunderWoman removed the request for review from JeanMeche March 12, 2026 22:46
@thePunderWoman thePunderWoman added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Mar 12, 2026
@mattrbeck mattrbeck merged commit 17d8a88 into angular:main Mar 12, 2026
21 checks passed
@mattrbeck
Copy link
Copy Markdown
Member

This PR was merged into the repository. The changes were merged into the following branches:

@angular-automatic-lock-bot
Copy link
Copy Markdown

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 Apr 12, 2026
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: core Issues related to the framework runtime target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants