@flemo/core 1.6.0 → 1.6.1

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1428,7 +1428,7 @@ function Ie(e) {
1428
1428
  if (!i.swipeDirection || e.getViewportScrollHeight() > 10) return;
1429
1429
  let { scope: a, screenContainer: o, decorator: f } = e.getElements();
1430
1430
  if (!a) return;
1431
- let p = o?.parentElement?.previousElementSibling ?? null;
1431
+ let p = o?.previousElementSibling ?? null;
1432
1432
  if (t = p?.querySelector("[data-flemo-screen]") ?? null, n = p?.querySelector("[data-flemo-decorator]") ?? null, !t) return;
1433
1433
  s = !0, c = {
1434
1434
  x: r.clientX,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flemo/core",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "Framework-agnostic primitives for flemo: history, navigation, transitions, task manager.",
5
5
  "main": "./dist/index.mjs",
6
6
  "module": "./dist/index.mjs",