Description
Improvement Idea: The search box should open up a persisted search modal when clicked, instead of showing results in a dropdown.
Why:
Not sure if it's my Internet or Algolia to blame, but the first query always seems to take forever. This means in the meantime of waiting for Algolia to return results, there's absolutely no feedback and I don't know what's going on. If I hit Enter before anything comes up, the entire input is erased but the page doesn't jump, which is even more confusing.
Webpack, VuePress, Docusaurus, etc. would open up the search modal in a persisted dialog box instead of showing it in a dropdown. I don't know if the version of docsearch
matters, and whether simply changing the "search box" to a toggle button would work, but I do believe it improves UX.
Reference: how Docusaurus' SearchBar
is implemented
Alternative ideas:
🤔