-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Labels
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Feature] Style Book[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
In the Style Book, clicking on an individual element (e.g., Paragraph or Button) correctly isolates that element for focused styling. However, when clicking on one of the style variations listed under that element, the view unexpectedly resets to the full Style Book overview instead of narrowing down to just that variation.
This breaks the expected UX flow and makes it difficult to focus on specific variations.
Step-by-step reproduction instructions
- Open the Site Editor in a block theme that defines style variations (e.g., Twenty Twenty-Four).
- Open the Style Book from the Styles panel.
- Click on an individual block like Button — the view correctly focuses on just that block.
- Now click on one of the style variations listed for that block.
- The full list of all blocks reappears, instead of keeping the focus on the selected variation.
Screenshots, screen recording, code snippet
Environment info
- LocalWP setup
- PHP 8.2.27
- WordPress 6.8.1
- No plugins installed
- Browser: Brave v1.79.123
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
yogeshbhutkar
Metadata
Metadata
Assignees
Labels
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Feature] Style Book[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended