Skip to content

Conversation

@jorgefilipecosta
Copy link
Member

This PR is a minor fix for ToggleGroupControl active state. The issue is more noticeable when the control is rendered on a popover with autofocus but can already be noticed by continuously clicking on the button.

How has this been tested?

I added a group block and went to the background color option.
I continuously pressed between color and gradient buttons and verified the button was always visible (on the trunk, it is not).

Screenshots

Before:
Dec-13-2021 16-23-30
After:
Dec-13-2021 16-24-15

@jorgefilipecosta jorgefilipecosta added [Feature] UI Components Impacts or related to the UI component system Backport to WP 6.9 Beta/RC Pull request that needs to be backported to the WordPress major release that's currently in beta labels Dec 13, 2021
@jorgefilipecosta jorgefilipecosta merged commit 7a7c5d5 into trunk Dec 13, 2021
@jorgefilipecosta jorgefilipecosta deleted the fix/togle-group-control-active-state branch December 13, 2021 20:07
@github-actions github-actions bot added this to the Gutenberg 12.2 milestone Dec 13, 2021
@noisysocks noisysocks removed the Backport to WP 6.9 Beta/RC Pull request that needs to be backported to the WordPress major release that's currently in beta label Dec 14, 2021
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants