@afeefa/vue-app 0.0.149 → 0.0.150

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- 0.0.149
1
+ 0.0.150
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afeefa/vue-app",
3
- "version": "0.0.149",
3
+ "version": "0.0.150",
4
4
  "description": "",
5
5
  "author": "Afeefa Kollektiv <kollektiv@afeefa.de>",
6
6
  "license": "MIT",
@@ -144,9 +144,11 @@ class RouteConfigPlugin {
144
144
 
145
145
  const options = {
146
146
  mode: 'history',
147
- scrollBehavior (_to, _from, savedPosition) {
147
+ scrollBehavior (to, from, savedPosition) {
148
148
  if (savedPosition) {
149
149
  return savedPosition
150
+ } else if (to.path === from.path) { // don't scroll just query changes === probably list navigation
151
+ return {}
150
152
  } else {
151
153
  return { x: 0, y: 0 }
152
154
  }