@symbo.ls/create 2.11.222 → 2.11.230

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.
@@ -71,7 +71,7 @@ const popStateRouter = (element, options) => {
71
71
  import_utils.window.onpopstate = (e) => {
72
72
  const { pathname, hash } = import_utils.window.location;
73
73
  const url = pathname + hash;
74
- router(url, element, {}, { pushState: false, level: 0 });
74
+ router(url, element, {}, { pushState: false, scrollToTop: false, level: 0 });
75
75
  };
76
76
  };
77
77
  const injectRouterInLinkComponent = (routerOptions) => {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@symbo.ls/create",
3
- "version": "2.11.222",
3
+ "version": "2.11.230",
4
4
  "license": "MIT",
5
- "gitHead": "6e6a08383cbffe4c4ed682998b6c7610db57a000",
5
+ "gitHead": "7bb17555a33c7bc9f979cbd3ce2dec161be03596",
6
6
  "files": [
7
7
  "src",
8
8
  "dist"
package/src/router.js CHANGED
@@ -52,7 +52,7 @@ export const popStateRouter = (element, options) => {
52
52
  window.onpopstate = e => {
53
53
  const { pathname, hash } = window.location
54
54
  const url = pathname + hash
55
- router(url, element, {}, { pushState: false, level: 0 })
55
+ router(url, element, {}, { pushState: false, scrollToTop: false, level: 0 })
56
56
  }
57
57
  }
58
58