Skip to content

Document Indicator Does Not Update When Using Back Navigation #7229

Description

@JonellaCulmer

Summary

When navigating between documents in the sidebar (changing the doc_id), the on‑page indicator showing which document is being viewed does not update correctly as the user presses the Back button.

**What should have happened?**

When the user clicks Back, the visible document indicator should update to reflect the document associated with the restored doc_id in the URL.

Frequency/ steps to reproduce

Ongoing; consistently reproducible.

  • Visit: https://www.fec.gov/legal/rulemakings/2019-04/?doc_id=425040
  • Click a different document in the list to load a new doc_id.
  • Press the browser Back button.
  • The URL updates (sometimes to the prior doc_id, sometimes without it), but the document indicator on the page does not change accordingly.

Completion criteria

  • Document header/indicator listens to URL changes (including back/forward navigations) and re-renders correctly based on the active doc_id.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions