Skip to content

feat(helper): add !important into transition properties #427

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

Merged
merged 1 commit into from
Apr 9, 2025

Conversation

pengzhanbo
Copy link
Member

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Provide a description in this PR that addresses what the PR is solving. If this PR is going to solve an existing issue, please reference the issue (e.g. close #123).

What is the purpose of this pull request?

  • Bug fix
  • New feature
  • Other

Description

I believe it is necessary to elevate the priority of transition properties.

Although doing so may cause layout flickering at the start and end of a transition when the element already has these configured transition properties.

However, when the priority of the same transition properties is too low, the transition animations cannot function properly.

I think we should prioritize ensuring that transition animations have a higher priority.

Screenshots

Before

After

@Mister-Hope Mister-Hope merged commit 8cfb4ac into main Apr 9, 2025
34 checks passed
@Mister-Hope Mister-Hope deleted the transition-important branch April 9, 2025 04:04
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