@afeefa/vue-app 0.0.149 → 0.0.150

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
  }