diff --git a/src/app/molecules/mobile-context-menu/MobileContextMenu.jsx b/src/app/molecules/mobile-context-menu/MobileContextMenu.jsx index 41ef7a3c..fd809fa0 100644 --- a/src/app/molecules/mobile-context-menu/MobileContextMenu.jsx +++ b/src/app/molecules/mobile-context-menu/MobileContextMenu.jsx @@ -24,9 +24,11 @@ export function MobileContextMenu({ isOpen, onClose, children }) { }, [api, innerHeight, isOpen]); const bind = useDrag( - ({ last, movement: [, my], velocities: [, vy] }) => { + ({ last, movement: [, my], event }) => { if (last) { if (my > innerHeight / 4) { + event.preventDefault(); + event.stopPropagation(); onClose(); } else { api.start({ y: 0 });