New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search hangs forever when ENTER is pressed #1584

Closed
alexandrezia opened this Issue Aug 9, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@alexandrezia

alexandrezia commented Aug 9, 2018

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 ..."

@waylan

This comment has been minimized.

Member

waylan commented Aug 9, 2018

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