This repository was archived by the owner on Jun 13, 2025. It is now read-only.
This repository was archived by the owner on Jun 13, 2025. It is now read-only.
Clicking search results doesn't always take you to the page #74
Open
Description
I've spotted this issue a few times when using search. Sometimes I click on a search result, and it populates the search box rather than taking me to the page. I thought it was random, but I think I have a reproduction case.
To Reproduce
- Navigate to a section of the Ghost CLI Knowledgebase, for example "Folder stucture"
- Search for something that also exists on this page, for example "second domain"
- Click on the "Knowledgebase" entry
- See that the search box is updated, but not closed
Now that I understand the reproduction case, I can see that the anchor in the URL is updated. Therefore I think the bug is actually that the modal doesn't close if only the anchor changes.