fix: fixed swiping during deal holding
This commit is contained in:
@ -108,6 +108,12 @@ const FunnelDnd = <
|
||||
return (
|
||||
<Swiper
|
||||
ref={swiperRef}
|
||||
onTouchStart={swiper => {
|
||||
swiper.allowTouchMove = !activeItem;
|
||||
}}
|
||||
onTouchMove={swiper => {
|
||||
swiper.allowTouchMove = !activeItem;
|
||||
}}
|
||||
className={classes["swiper-container"]}
|
||||
slidesPerView={1.1}
|
||||
style={{ paddingLeft: "10vw", paddingRight: "2vw" }}
|
||||
|
||||
Reference in New Issue
Block a user