Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
router.go() does not work in Safari #2554
Steps to reproduce
In code sandbox, using Safari, if you click the button (calls
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.
@posva I made these updates and it's still not functioning.
(the application I'm working on is setup correctly. I just rushed the reproduction sandbox)
Here is my exact setup for vue-router:
Please, check the docs for the
Alright, I've already read the documentation quite a few times and I've already tried Discord and used StackOverflow to get to this example. I appreciate your time, but if you could take a second instead of immediately blowing this off, that would be great.
The vue-router docs mention it imitates the browser history API, which for
This is working as expected in Chrome and Firefox, but not in Safari. However, if I put any parameter other than 0 or empty (numbers only), it works in Safari. This is a bug.