Skip to content

Conversation

@matiasbenedetto
Copy link
Contributor

@matiasbenedetto matiasbenedetto commented Jun 28, 2024

What?

Fix UnitControl select disabled state colors

Why?

Fixes: #62969

How?

Render the accent colors when the component is not disabled.

Testing Instructions

See #62969

Screenshots or screencast

Before

Screencast.from.28-06-24.14.41.30.webm

After

Screencast.from.28-06-24.14.38.27.webm

@github-actions
Copy link

github-actions bot commented Jun 28, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: matiasbenedetto <[email protected]>
Co-authored-by: mirka <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@matiasbenedetto matiasbenedetto added [Type] Bug An existing feature does not function as intended [Feature] UI Components Impacts or related to the UI component system labels Jun 28, 2024
@matiasbenedetto matiasbenedetto requested a review from a team June 28, 2024 10:57
Copy link
Member

@mirka mirka left a comment

Choose a reason for hiding this comment

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

Great catch, thank you!

@matiasbenedetto matiasbenedetto enabled auto-merge (squash) June 28, 2024 14:31
@matiasbenedetto matiasbenedetto merged commit ab116d8 into trunk Jun 28, 2024
@matiasbenedetto matiasbenedetto deleted the fix/unit-control-disabled-state branch June 28, 2024 15:04
@github-actions github-actions bot added this to the Gutenberg 18.8 milestone Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] UI Components Impacts or related to the UI component system [Type] Bug An existing feature does not function as intended

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

UnitControl component keeps accent color when is disabled

3 participants