TanStack / TanStack/tanstack.com
Search function is not working sometimes
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 401
- Avg merge
- 18h 14m
- Merged PRs (30d)
- 56
Description
Sometimes the documentation search is not working:
It shows nothing.
But if I click on the Search button and wait for 2 seconds and type useMutation, it will return the results:
This problem seems to have been around for a while, as I met the same problem a few months ago.
To reproduce:
- open any doc page, e.g., https://tanstack.com/query/latest/docs/reference/onlineManager
- click on the search button, then paste
useMutation - if you haven't see the issue, you might need to reload page and redo step 2.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue from the onlineManager documentation page: open search, paste useMutation, and repeat after reloading if needed. Compare the failing and successful behavior shown in the screenshots; done means the documentation search reliably returns results immediately after opening search and pasting a query.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, search, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100