@tapizlabs/ui 0.2.26 → 0.2.27

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/dist/index.js CHANGED
@@ -2888,6 +2888,8 @@ function SidePanel({
2888
2888
  className: `fixed inset-0 z-50 flex bg-[rgba(5,6,8,0.75)] backdrop-blur-[2px] ${side === "right" ? "justify-end" : "justify-start"} ${shown ? "opacity-100" : "opacity-0"}`,
2889
2889
  style: { transition: reduceMotion ? "none" : `opacity ${TRANSITION_MS}ms ${TRANSITION_EASE}` },
2890
2890
  onClick: (e) => e.target === e.currentTarget && onClose(),
2891
+ onWheel: (e) => e.preventDefault(),
2892
+ onTouchMove: (e) => e.preventDefault(),
2891
2893
  children: /* @__PURE__ */ jsxs47(
2892
2894
  "div",
2893
2895
  {
@@ -2914,7 +2916,15 @@ function SidePanel({
2914
2916
  }
2915
2917
  )
2916
2918
  ] }),
2917
- /* @__PURE__ */ jsx66("div", { className: "min-h-0 flex-1 overflow-y-auto overscroll-contain px-4 py-4 sm:px-5", children }),
2919
+ /* @__PURE__ */ jsx66(
2920
+ "div",
2921
+ {
2922
+ className: "min-h-0 flex-1 overflow-y-auto overscroll-contain px-4 py-4 sm:px-5",
2923
+ onWheel: (e) => e.stopPropagation(),
2924
+ onTouchMove: (e) => e.stopPropagation(),
2925
+ children
2926
+ }
2927
+ ),
2918
2928
  footer && /* @__PURE__ */ jsx66("div", { className: "shrink-0 border-t border-border px-4 py-3 sm:px-5", children: footer })
2919
2929
  ]
2920
2930
  }