virtua 0.53.4 → 0.53.5

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.
package/lib/index.cjs CHANGED
@@ -349,11 +349,13 @@ n), S = e => l(e.t(), e.o()), _ = (e, t, o, n) => {
349
349
  passive: !0
350
350
  }), o.addEventListener("touchend", O, {
351
351
  passive: !0
352
+ }), o.addEventListener("touchcancel", O, {
353
+ passive: !0
352
354
  }), {
353
355
  J: R,
354
356
  j: () => {
355
357
  o.removeEventListener("scroll", R), o.removeEventListener("wheel", k), o.removeEventListener("touchstart", T),
356
- o.removeEventListener("touchend", O), d(f);
358
+ o.removeEventListener("touchend", O), o.removeEventListener("touchcancel", O), d(f);
357
359
  },
358
360
  D: () => {
359
361
  const [t, o] = e.C();
@@ -585,7 +587,7 @@ n), S = e => l(e.t(), e.o()), _ = (e, t, o, n) => {
585
587
  const e = !!c, t = x(b, l, u), o = v(t, g);
586
588
  return [ o, t, B(o, t, e), e ];
587
589
  });
588
- C.h(5, b, i), d !== C.M() && C.h(7, d);
590
+ C.h(5, b, i), C.h(7, d);
589
591
  const [q, W] = (0, e.useReducer)(C.k, void 0, C.k), H = C.O(), P = C.t(), Y = [], J = e => {
590
592
  const o = I(e);
591
593
  /* @__PURE__ */ /* @__PURE__ */