You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@dtlhlbs I was able to replicate this issue in the Algolia search plugin that comes built-in with Docusaurus.
Since docusaurus-theme-search-typesense is a fork of the built-in Algolia plug-in, I think it would be more efficient to fix the issue in the built-in plugin and I can then pull those fixes into this fork.
Could you open an issue in the main docusaurus repo about this issue? (I was able to easily replicate this on docusaurus.com's search bar, which uses the Algolia plugin).
I made the 2 apis public in case you want to use them to simplify your plugin code. It's basically the same as the older useSearchPage but instead split in 2 distinct hooks with a more focused use-case.
Will be backported for v2.4 unless you think it can be a problem for such third-party plugins (ping me in the PR in this case, I may miss replies here)
Description
When I use the search box for a second time it fails to reload the search.
Steps to reproduce
Expected Behavior
New results will show for the new search terms
Actual Behavior
Old results from first search term continue to show
Metadata
Typesense Version: 0.9.0 (docusaurus-theme-search-typesense)
OS:
Windows Chrome 109.0.5414.120 (Official Build) (64-bit)
search-bug.webm
The text was updated successfully, but these errors were encountered: