Skip to content

Search hangs forever when ENTER is pressed #1584

Description

@alexandrezia

Using mkdocs, version 1.0
theme: readthedocs

Search works when typing search term, but when pressing ENTER it loads "Search results" page (/search.html?q=test) and then hangs forever showing "Searching ..."

Activity

  1. waylan commented on Aug 9, 2018

    @waylan
    Contributor

    I can confirm here. Interestingly, if you type into the search form in the search.html page it works fine. The problem seems to be with the search term being in the query string. In fact an error is raised (worker.js:102 Assets for search still loading). The message with the search term is not supposed to be sent to the worker until everything is loaded. Apparently we have a bug there when getting the search term from a query string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions