Skip to content

Enhance CSS animation performance by optimizing transform handling an…#154

Merged
RUKAYAT-CODER merged 2 commits into
rinafcode:mainfrom
T-kesh:feat/css-animation-performance
Apr 23, 2026
Merged

Enhance CSS animation performance by optimizing transform handling an…#154
RUKAYAT-CODER merged 2 commits into
rinafcode:mainfrom
T-kesh:feat/css-animation-performance

Conversation

@T-kesh
Copy link
Copy Markdown
Contributor

@T-kesh T-kesh commented Apr 23, 2026

This PR improves animation performance across the dashboard by removing layout-driven motion where it was most expensive and shifting those interactions onto transform-based rendering. In AdvancedDashboard, panel movement no longer relies on Framer Motion layout, which avoids unnecessary layout recalculations during drag-and-drop and keeps reordering on GPU-friendly transforms instead. In InteractiveAnimations, swipe interactions remain transform-based but now apply will-change more strategically, promoting elements to the compositor only while they are actively animating and cleaning that hint up afterward. Together, these changes reduce layout thrashing, align the affected components with the performance guidance in the issue, and move the dashboard closer to the smooth 60fps behavior expected for interactive animations.
Thank you
closes #122

…d willChange properties in InteractiveAnimations and AdvancedDashboard components.
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 23, 2026

@T-kesh Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@T-kesh
Copy link
Copy Markdown
Contributor Author

T-kesh commented Apr 23, 2026

CI appears to be failing in files/workflows unrelated to this change after syncing the fork with upstream.

@RUKAYAT-CODER
Copy link
Copy Markdown
Contributor

Fix CI

@RUKAYAT-CODER RUKAYAT-CODER merged commit d765e51 into rinafcode:main Apr 23, 2026
3 of 6 checks passed
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.

CSS/Animation Performance

2 participants