Skip to content
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 circular progress animation styles #3302

Conversation

emreboga
Copy link
Collaborator

There has been an issue the way we were animating the circular progress in one smooth move after React 19 upgrade. This was because an added animation was not triggered all the time after re-render of the component. It was very inconsistent.
The fix here is remove the old logic and do not depend on the animation to simulate the progress, but use the percent value and add an animation to make the steps in that progress upgrade a bit smoother.

https://www.loom.com/share/1a8417d6021041899bc0564d94abe105?sid=6277fbd0-592b-4deb-87d0-23989896af9f

Signed-off-by: Emre Bogazliyanlioglu <emre@wormholelabs.xyz>
Copy link

netlify bot commented Feb 20, 2025

Deploy Preview for wormhole-connect ready!

Name Link
🔨 Latest commit 12aa12c
🔍 Latest deploy log https://app.netlify.com/sites/wormhole-connect/deploys/67b786e51b94790008db5cda
😎 Deploy Preview https://deploy-preview-3302--wormhole-connect.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 20, 2025

Deploy Preview for wormhole-connect-mainnet ready!

Name Link
🔨 Latest commit 12aa12c
🔍 Latest deploy log https://app.netlify.com/sites/wormhole-connect-mainnet/deploys/67b786e50e890f0008279806
😎 Deploy Preview https://deploy-preview-3302--wormhole-connect-mainnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@artursapek artursapek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so smoooooth

@emreboga emreboga merged commit 315cbf5 into wormhole-foundation:development Feb 20, 2025
15 of 16 checks passed
@emreboga emreboga deleted the emre/fix-circ-progress branch February 20, 2025 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants