diff --git a/packages/taro-components-react/src/components/swiper/index.tsx b/packages/taro-components-react/src/components/swiper/index.tsx index 1dc254ed1244..a2b7bf3394b0 100644 --- a/packages/taro-components-react/src/components/swiper/index.tsx +++ b/packages/taro-components-react/src/components/swiper/index.tsx @@ -189,6 +189,8 @@ class SwiperInner extends React.Component { nested: true, loopAdditionalSlides, centeredSlides, + touchReleaseOnEdges: true, + threshold: 0, ...effectsProps, on: { init (_swiper) { diff --git a/packages/taro-components/src/components/swiper/swiper.tsx b/packages/taro-components/src/components/swiper/swiper.tsx index 0f259180cc6e..649b6f2553dc 100644 --- a/packages/taro-components/src/components/swiper/swiper.tsx +++ b/packages/taro-components/src/components/swiper/swiper.tsx @@ -325,6 +325,8 @@ export class Swiper implements ComponentInterface { centeredSlides: centeredSlides, zoom: this.zoom, nested: true, + touchReleaseOnEdges: true, + threshold: 0, ...effectsProps, on: { transitionEnd(e) {