Skip to content

Cannot go back when refresh on safari #44

@jeiea

Description

@jeiea

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure it has not already been reported

Version (i.e. v2.x.x)

1.0.1-alpha.209

Node.js version (i.e. 18.x, or N/A)

No response

Operating system

macOS

Operating system version (i.e. 20.04, 11.3, 10, or N/A)

15.6.1

Description

InvalidStateError: InvalidStateError: Cannot go back

Steps to Reproduce

  1. Open page including import '@virtualstate/navigation/polyfill' on safari
  2. history.pushState(...) (I don't know exactly, I used next14 app router)
  3. Refresh (Cmd+R)
  4. history.back()

Expected Behavior

Page go back, it's possible without polyfill.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions