[Vuejs]-Vue router scrollBehavior returns same path for both to and from

0👍

Okay, so the problem was with my version. I was using ^2.2.1 and upgraded to the latest version 2.7.0. However, this issue was fixed in version 2.3.1.

I saw the issue in the closed issues of Vue-router. Hope this will help some one.

Leave a comment