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

specific transition properties #25

Closed
phucbm opened this issue May 23, 2023 · 0 comments · Fixed by #27 or #29
Closed

specific transition properties #25

phucbm opened this issue May 23, 2023 · 0 comments · Fixed by #27 or #29
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@phucbm
Copy link
Member

phucbm commented May 23, 2023

Why

We need to specify the transition properties instead of using transition:all in order to bypass the "avoid non-composited animations" issue from Lighthouse.

Screenshot 2023-05-23 at 15 30 17

How

.t-transform {transition-property: transform;}
.t-transform-opacity {transition-property: transform, opacity;}
.t-transform-opacity-color {transition-property: transform, opacity, color;}
.t-transform-color {transition-property: transform, color;}
.t-opacity-color {transition-property: opacity, color;}
.t-opacity {transition-property: opacity;}
.t-color {transition-property: color;}

Ref

@phucbm phucbm added enhancement New feature or request good first issue Good for newcomers labels May 23, 2023
@phucbm phucbm linked a pull request May 31, 2023 that will close this issue
@vuquangpham vuquangpham linked a pull request May 31, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants