Skip to content

Instant loading: returning to index page breaks search and other features #6275

@sarcastro

Description

@sarcastro

Context

No response

Bug description

Search is not functional from the index page when navigation.instant is enabled except for when first loaded.

Refreshing page restores functionality.

Note: issue does not appear to be limited to search as page no longer refreshes automatically when using mkdocs serve either.

Related links

Reproduction

9.4.7-navigation-instant-index.zip

Steps to reproduce

  1. Navigate away from index page (e.g. by following a link)
  2. Return to index page (e.g. using left navigation menu)
  3. Try to search (no longer functional)

Note: steps to reproduce are included in the reproduction as well.

Browser

No response

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue reports a bugresolvedIssue is resolved, yet unreleased if open

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions