Skip to content

Style book: Back navigation in styles panel always navigating to history #46393

@madhusudhand

Description

@madhusudhand

Description

The back navigation click in global styles is not navigating to previous menu, instead it always navigates based on the route history.

Step-by-step reproduction instructions

  1. Invoke style book by clicking on eye icon
  2. Click on few blocks from the style book
  3. Exit style book (by clicking on eye icon)
  4. Now on click of back link in global styles takes us to all previously clicked block styles instead of previous menu.

Screenshots, screen recording, code snippet

style-book

Environment info

  • Latest Gutenberg
  • Latest WordPress

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions