From af582a813f2acf3cd2d532ba49799856caee895a Mon Sep 17 00:00:00 2001 From: Kirill Date: Mon, 25 May 2026 19:25:43 +0500 Subject: [PATCH] fix: prevent adjacent slide peeking in ProductCard Swiper --- .../src/entities/product/ui/ProductCard.tsx | 6 ++++-- server/prisma/prisma/dev.db | Bin 352256 -> 352256 bytes 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/client/src/entities/product/ui/ProductCard.tsx b/client/src/entities/product/ui/ProductCard.tsx index 210eaa8..fc18af1 100644 --- a/client/src/entities/product/ui/ProductCard.tsx +++ b/client/src/entities/product/ui/ProductCard.tsx @@ -80,11 +80,13 @@ const ProductCardInner = ({ product, mediaHeight = 200, actions }: Props) => { {imageUrls.length ? ( { swiperRef.current = s }} - allowTouchMove={!isMobile} - style={{ width: '100%', height: mediaHeight }} + style={{ width: '100%', height: mediaHeight, overflow: 'hidden' }} > {imageUrls.map((url) => ( diff --git a/server/prisma/prisma/dev.db b/server/prisma/prisma/dev.db index f69f4a4fd88341f363bf06632da20e2eef26cb5f..76de4c851c6f8eeb04d006951b872438c2fdcd0c 100644 GIT binary patch delta 621 zcmZvZ%}*0i6vf}0z9ES1+-V|WwLsmu()lPe(*!NiKLFyw#EoS-ovHL=D6Nv*#j;TXX&?7QJo8=U==7-S%d;59@;tx(J5=WlTYA=GoGZQF0k?g#r( zm=3iN96}57kazjo3ixl+&Ws&l{cgg2zy3Hj%y3-3Q|rn*yp>veDEgH< za+aEoM-K2FL@qMIL<7l7&dX+`(INaW18oF7XuILLuP`1Z;u!wl=|G8bdcW!EaDw0r zPTcUHUvPOOz+x&&4KVK6UoJ-Z?IP&HE|_3?d<;JamSVeyolQG3+qmJuv-eY#Yp-R|1@yz zrbj-KJ@CFy5@n8V%pur@9G!Ur^<0(kS7{v2p2le$iXVq9#LK2^CQ^#q>(EQN~%MaR%- z0iyV=`6XnM;1xGG!n&jTX$7nMPtjI)^eb2Av(RJ_*~}xi%DxYGV~&&Fx{(Y1%f3hgs5`rv$k3IP@KYttGY?B z-Um33jjUrp)~5(k2+PO__QP?ecZXw