diff --git a/docs/api/swiping.mdx b/docs/api/swiping.mdx index a54571ab..e1451372 100644 --- a/docs/api/swiping.mdx +++ b/docs/api/swiping.mdx @@ -12,7 +12,7 @@ By default the carousel will allow you to drag the carousel to the next slide. Y | Prop Name | Type | Default Value | | :--------- | :-------- | :------------ | -| `minSwipeDistance` | `number` | 10 | +| `minSwipeDistance` | `number` | 50 | | `swiping` | `boolean` | `true` | ### Enabled with `scrollDistance="slide"` diff --git a/packages/nuka/src/Carousel/Carousel.tsx b/packages/nuka/src/Carousel/Carousel.tsx index f9de81cf..db0fbb24 100644 --- a/packages/nuka/src/Carousel/Carousel.tsx +++ b/packages/nuka/src/Carousel/Carousel.tsx @@ -181,7 +181,7 @@ export const Carousel = forwardRef( onTouchStart={onTouchStart} id="nuka-overflow" data-testid="nuka-overflow" - style={{ touchAction: 'none' }} + style={{ touchAction: 'pan-y' }} >