-
Notifications
You must be signed in to change notification settings - Fork 225
fix(progressbar): progress bar animation jitter #5509
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
fix(progressbar): progress bar animation jitter #5509
Conversation
🦋 Changeset detectedLatest commit: 6fbb765 The changes in this PR will be included in the next version bump. This PR includes changesets to release 84 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 |
Branch previewReview the following VRT differencesWhen a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:
If the changes are expected, update the |
Tachometer resultsChromeprogress-bar permalinkbasic-test
Firefoxprogress-bar permalinkbasic-test
|
8b82cb1
to
d09f711
Compare
@marissahuysentruyt It most certainly fixes the bug @Rajdeepc mentioned. When I slowed down the animation speed the progress fluidly fills the tracks from 0% to 100% and doesn't start with a width. Screen.Recording.2025-06-11.at.10.47.35.AM.mov |
d09f711
to
159efe4
Compare
c83edb0
to
6fbb765
Compare
- adds magic number positioning to progress bar animation keyframes, to smooth out the looping animation
- alters animation for ltr and rtl to position the fill fully off the track at beginning and end of animation, to smooth out the looping
6fbb765
to
ddbd3c3
Compare
New branch here: #5535 |
Description
I am in favor of the second commit, simply redefining the keyframes so that the fill's starting position is off of the track, as opposed to partially on the track.
Motivation and context
CSS-1241
A bug was recently reported in Slack that said:
This PR aims to smooth out the transition between the end and the start of the animation loop.
Related issue(s)
Screenshots (if appropriate)
Author's checklist
Reviewer's checklist
patch
,minor
, ormajor
featuresManual review test cases
Descriptive Test Statement
Descriptive Test Statement
Device review