Skip to content

Adds animation to color on outlined btns - #24465

Merged
XhmikosR merged 3 commits into
v4-devfrom
v4-dev-andres-adds-animation-to-btn-text
Oct 22, 2017
Merged

XhmikosR merged 3 commits into
v4-devfrom
v4-dev-andres-adds-animation-to-btn-text

Conversation

@andresgalante

@andresgalante andresgalante commented Oct 20, 2017 •

Copy link
Copy Markdown
Collaborator

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

@andresgalante andresgalante added css Sass sources or compiled CSS v4 v4, the frozen docs on gh-pages labels Oct 20, 2017
@andresgalante
andresgalante requested review from XhmikosR and mdo October 20, 2017 11:01
@XhmikosR

Copy link
Copy Markdown
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

andresgalante commented Oct 20, 2017 •

Copy link
Copy Markdown
Collaborator Author

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

XhmikosR commented Oct 20, 2017 •

Copy link
Copy Markdown
Member

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

css Sass sources or compiled CSS v4 v4, the frozen docs on gh-pages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants