Global Styles panel unexpectedly switches to selected block #68068
Labels
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
Needs Design Feedback
Needs general design feedback.
[Type] Bug
An existing feature does not function as intended
Description
When editing a block's settings within Global Styles, if you select another block in the List View without closing Global Styles, the Global Styles panel automatically switches to the newly selected block. This behavior can be confusing and potentially lead to unintended global style changes, as users might not realize they are still in the Global Styles context and believe they are modifying the individual block's styles.
I understand it's an improvement likely made to facilitate the use of global styles and their configuration for the blocks that appear on the page. However, I think it would be interesting to analyze some other pattern that prevents this kind of error by the user.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: