WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.47k stars 4.18k forks source link

"Set featured image" button border flashes on focus #65299

Closed mirka closed 6 days ago

mirka commented 1 month ago

Steps to reproduce

In a post, go to the Post tab in the sidebar and move the keyboard focus onto the "Set featured image" button.

Expected behavior

The focus ring shows like the other components.

Actual behavior

There is a lag between the focus ring appearing and the normal border disappearing.

Video

https://github.com/user-attachments/assets/bce6d0de-5f66-438a-a746-2030f6429da2

t-hamano commented 1 week ago

My guess is that this issue is related to #66007, because the "Set featured image" variation button also has an inset box shadow applied by default.

Vrishabhsk commented 1 week ago

Hi @mirka 👋

Let me know your thoughts on this. Thanks. cc: @tyxla

tyxla commented 6 days ago

Thanks for working to resolve the "Set featured image" issue @Vrishabhsk 🙌