Skip to content

Search function is not working sometimes #1198

Description

@Lexachoc

Sometimes the documentation search is not working:
Image

It shows nothing.

But if I click on the Search button and wait for 2 seconds and type useMutation, it will return the results:
Image

This problem seems to have been around for a while, as I met the same problem a few months ago.

To reproduce:

  1. open any doc page, e.g., https://tanstack.com/query/latest/docs/reference/onlineManager
  2. click on the search button, then paste useMutation
  3. if you haven't see the issue, you might need to reload page and redo step 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    source-auditTracked by the automated source audit

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions