-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Global Styles: Display preset names via the tooltip #48304
Conversation
Size Change: -1 B (0%) Total Size: 1.33 MB
ℹ️ View Unchanged
|
When I first open the Popover the tooltip of the first item is shown. I think it should do that, right? 🤔 Screen.Recording.2023-02-22.at.11.10.36.AM.mov |
@ntsekouras, that's correct behavior. When you open the popover, the first element gets focus (this a11y feature), so the tooltip is displayed. |
Flaky tests detected in 21891fb. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4240985211
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks George!
* Global Styles: Display preset names via the tooltip * Use the preset slug as the component 'key'
I just cherry-picked this PR to the wp/6.2 branch to get it included in the next release: 6501bb7 |
What?
PR updates the
ShadowIndicator
component to display preset labels via tooltips.Why?
There was no visual indication of which preset the user is selecting without tooltips.
Testing Instructions
Screenshots or screencast