Skip to content

Instant loading: Page reload on repeated page link click (Firefox) #6102

@sisp

Description

@sisp

Context

No response

Bug description

When navigation.instant is enabled

theme:
  name: material
  features:
    - navigation.instant

clicking repeatedly on the same page link reloads the page from scratch without XHR. Clicking on other page links works as expected.

This problem occurs in Firefox but not in Chrome. That said, both Firefox and Chrome enable the "Go forward one page" button next to the address bar when clicking on the same page link repeatedly. It seems that an incorrect entry gets added to the history.

Related links

Reproduction

9.4.2-xhr-reload.zip

Steps to reproduce

  1. Open the reproduction in Firefox: http://localhost:8000
  2. Open Firefox' dev tools and go to the "Network" tab.
  3. Alternately click on the navigation links "Page" and "Home" and observe XHR requests but no page reloads.
  4. Repeatedly click on the same navigation link, e.g. "Page", and observe page reloads as well as the "Go forward one page" button next to the address bar enabled.

Browser

Firefox

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