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

perf(user): improve iOS Safari animation fps on Last 5 Games Played #2611

Conversation

wescopeland
Copy link
Member

This PR should roughly double the FPS of the expand/collapse animation found in the "Last 5 Games Played" row components for seeing the achievement icons, specifically for iOS/iPadOS Safari. Right now, this animation is exceptionally choppy for iOS users.

There should be no visible change on any other devices.

will-change hints to browsers that stuff is expected to animate. This informs Safari to prepare for the animation to happen before it ever occurs, greatly improving its performance.

@wescopeland wescopeland requested a review from a team August 13, 2024 23:31
@wescopeland wescopeland merged commit 3a00dad into RetroAchievements:master Aug 19, 2024
5 checks passed
@wescopeland wescopeland deleted the recently-played-ios-safari-fps branch August 19, 2024 16:02
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