Skip to content

Search bar results link and SearchPage don't load new results after first view #8755

@dtlhlbs

Description

@dtlhlbs

Have you read the Contributing Guidelines on issues?

Prerequisites

Description

The See all n results link at the bottom of the search modal from the search bar doesn't load new search results if the SearchPage is already loaded.

Reproducible demo

No response

Steps to reproduce

  1. Go to https://docusaurus.io/
  2. Search for "Admonition" using search bar
  3. Scroll to bottom of modal to the See all n results link
  4. Select results link and view all results
  5. Open the search bar on the top right and search for "Blog"
  6. Scroll to bottom of modal to the See all n results link
  7. Select results link and view all results

Expected behavior

URL changes to https://docusaurus.io/search?q=blog
Results for "Blog" would be displayed on the search results page

Actual behavior

URL changes to https://docusaurus.io/search?q=blog
Results for "Admonition" are still displayed

Your environment

https://docusaurus.io

Self-service

  • I'd be willing to fix this bug myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn error in the Docusaurus core causing instability or issues with its execution

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions