Repository navigation
fix: start motion timing when updates are scheduled - #222
Conversation
🦋 Changeset detectedLatest commit: 5dcc33a The changes in this PR will be included in the next version bump. This PR includes changesets to release 12 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
View your CI Pipeline Execution ↗ for commit 5dcc33a
☁️ Nx Cloud last updated this comment at |
Fix
Start the motion clock when the update is scheduled, using the owning window's
performance.now(). An early first frame no longer advances a tween too far, and a delayed first frame no longer postpones the whole animation.Remove the two bound frame callbacks so the fix fits the existing bundle budgets. Calls still use the owning window as their receiver. Public options, defaults and motion inheritance are unchanged.
Thanks @toomingos for the detailed reproduction in #192.
Closes #192.
Verification
pnpm validatepasses all 19 tasks, including 2,224 main-suite tests, typechecking, packed consumers, docs, bundle gates and 188 catalog previews.Summary by CodeRabbit