Apply hover styles to filter chip while being configured#59236
Conversation
|
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 If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: +61 B (0%) Total Size: 1.7 MB
ℹ️ View Unchanged
|
|
I may be missing important details, but the before and after images look identical to me. |
|
@jasmussen to clarify; currently when a filter configuration popover is open the chip has the default appearance, IE it looks identical to all other chips. On this PR the hover style is retained while the popover is open, to create further visual connection between the chip and the popover. The hover style may need to be stronger, but that's probably a detail to finesse in a dedicated PR. |
|
Oh I see it now, the blue hover color is slightly darker. I'm fine with moving forward, but I do think the change is barely perceptible, which usually means we shouldn't do it, or increase the differential a little bit. |
|
Flaky tests detected in 5824d99. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/8006332075
|
|
Nice. |
Co-authored-by: jameskoster <jameskoster@git.wordpress.org> Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org> Co-authored-by: jasmussen <joen@git.wordpress.org>
|
I just cherry-picked this PR to the cherry-pick-wp-6-5-beta-3 branch to get it included in the next release: 3bf1514 |
Co-authored-by: jameskoster <jameskoster@git.wordpress.org> Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org> Co-authored-by: jasmussen <joen@git.wordpress.org>


What?
Apply hover styles to filter chip while the filter is being configured.
Why?
Further helps connect the popover with the associated chip. This will become more important as more filters are added.
How?
Target the
aria-expandedattribute and style accordingly.Testing Instructions
We might try a stronger visual indicator than the hover state, but this felt a reasonable place to start.