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

Adds animation to color on outlined btns #24465

Merged
merged 3 commits into from
Oct 22, 2017

Conversation

andresgalante
Copy link
Collaborator

@andresgalante andresgalante commented Oct 20, 2017

This PR fixes #24447 by adding an animation to color on outline buttons.

@XhmikosR
Copy link
Member

LGTM. Although the properties we animate are not the ones that are hardware accelerated, but I don't think it matters a lot here.

Waiting for @mdo's approval.

@andresgalante
Copy link
Collaborator Author

andresgalante commented Oct 20, 2017

You are right, there is a repaint.
We can change it to animate a css filter probably, but it'd be a larger change.

@XhmikosR
Copy link
Member

XhmikosR commented Oct 20, 2017

Ideally, yeah, we should only animate the hardware accelerated properties everywhere. But it won't be an easy task. Maybe we should have an issue for this.

@mdo mdo mentioned this pull request Oct 22, 2017
@XhmikosR XhmikosR merged commit b61de52 into v4-dev Oct 22, 2017
@XhmikosR XhmikosR deleted the v4-dev-andres-adds-animation-to-btn-text branch October 22, 2017 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants