Skip to content

router.go() does not work in Safari #2554

@Johnsoct

Description

@Johnsoct

Version

3.0.1

Reproduction link

https://codesandbox.io/s/zljj518k94

Steps to reproduce

Setup this.$router.go() (essentially, refresh the page without any data) and try triggering it in Safari.

In code sandbox, using Safari, if you click the button (calls this.$router.go()) an error is thrown. If you do the same in Chrome, for example, nothing happens (I assume it's due to being inside their sandbox) but remains error-free.

What is expected?

Page refresh without data

What is actually happening?

Nothing at all


I'm not experienced with picking source code apart, but I did a bit of digging to see if any recent merges may have caused because I believe the issue to be new as of within one week's time.

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