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
- Invoke
style book by clicking on eye icon
- Click on few blocks from the
style book
- Exit style book (by clicking on eye icon)
- 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

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