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(components/atom/button): google translate #2664

Merged
merged 2 commits into from
Dec 18, 2023

Conversation

andresin87
Copy link
Member

@andresin87 andresin87 commented Nov 22, 2023

Atom/Button

❓ Ask

TASK:

Description, Motivation and Context

problems when using google translate during the update state (non-mounting/unmounting) on its inner content

Types of changes

  • 🪲 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 🧾 Documentation
  • 📷 Demo
  • 🧪 Test
  • 🧠 Refactor
  • 💄 Styles
  • 🛠️ Tool

Screenshots - Animations

Copy link

STATEMENTS BRANCHES FUNCTIONS LINES
≍ 0= ≍ 0.01↓ ≍ 0= ≍ 0=
% 76.21 63.57 65.72 77.86
ABS 3335 / 4376 1967 / 3094 648 / 986 3205 / 4116

Comment on lines -112 to -116
{leftIcon || rightIcon ? (
<span className={`${CLASS}-text`}>{children}</span>
) : (
children
)}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the relevant part of this PR

Copy link

STATEMENTS BRANCHES FUNCTIONS LINES
≍ 0= ≍ 0.01↓ ≍ 0= ≍ 0=
% 76.21 63.53 65.72 77.86
ABS 3335 / 4376 1967 / 3096 648 / 986 3205 / 4116

@andresin87 andresin87 merged commit f448346 into master Dec 18, 2023
8 checks passed
@andresin87 andresin87 deleted the button_google_translate_fix branch December 18, 2023 10:38
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