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

fix(button): skip animation on first render of loading button (port to 17.x) #1155

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

kevinbuhmann
Copy link
Member

This is a port of 6692977 (#1141) to 17.x.

The button text/content should only be faded when transitioning to or from a non-default state.

CDE-1596
closes #1075

PR Checklist

  • [N/A] Tests for the changes have been added (for bug fixes / features)
  • [N/A] Docs have been added / updated (for bug fixes / features)
  • [N/A] If applicable, have a visual design approval

PR Type

Bugfix

What is the current behavior?

Buttons using a [clrLoading] directive have the button text faded in on page load. Buttons without the directive do not.

Issue Number: #1075, CDE-1596

What is the new behavior?

The button text/content should only be faded when transitioning to or from a non-default state.

Does this PR introduce a breaking change?

No.

This is a port of 6692977 (#1141) to 17.x.

The button text/content should only be faded when transitioning to or
from a non-default state.

CDE-1596
closes #1075
@kevinbuhmann kevinbuhmann requested a review from a team January 22, 2024 18:58
@kevinbuhmann kevinbuhmann self-assigned this Jan 22, 2024
Copy link
Contributor

github-actions bot commented Jan 22, 2024

👋 @kevinbuhmann,

  • 🙏 The Clarity team thanks you for opening a pull request
  • 🎉 The build for this PR has succeeded
  • 🔍 The PR is now ready for review
  • 🍿 In the meantime, view a preview of this PR
  • 🖐 You can always follow up here. If you're a VMware employee, you can also reach us on our internal #clarity-support Slack channel

Thank you,

🤖 Clarity Release Bot

@kevinbuhmann kevinbuhmann merged commit 1951e9a into next Jan 23, 2024
6 checks passed
@kevinbuhmann kevinbuhmann deleted the kevin/loading-button-render-animation-next branch January 23, 2024 14:40
Copy link
Contributor

🎉 This PR is included in version 17.0.0-beta.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link
Contributor

github-actions bot commented Feb 9, 2024

Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed PRs after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.

@github-actions github-actions bot locked and limited conversation to collaborators Feb 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants