diff --git a/src/components/node/NodeImageSlideBlock/index.tsx b/src/components/node/NodeImageSlideBlock/index.tsx index dc96386e..ad62265c 100644 --- a/src/components/node/NodeImageSlideBlock/index.tsx +++ b/src/components/node/NodeImageSlideBlock/index.tsx @@ -184,7 +184,10 @@ const NodeImageSlideBlock: FC = ({ setIsDragging(false); normalizeOffset(); - if (Math.abs(new Date().getTime() - drag_start) < 200 && initial_x - getX(event) < 20) { + if ( + Math.abs(new Date().getTime() - drag_start) < 200 && + Math.abs(initial_x - getX(event)) < 5 + ) { onOpenPhotoSwipe(); } },