We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e928c33 commit d6506bcCopy full SHA for d6506bc
packages/bds-ui/src/components/carousel/hooks/use-carousel-touch.ts
@@ -86,7 +86,6 @@ export const useCarouselTouch = ({
86
const containerWidth = e.currentTarget.clientWidth || 1;
87
const dragOffsetPercent = (diff / containerWidth) * 100;
88
89
- // autoPlay 모드에서는 드래그만 처리
90
if (autoPlay) {
91
const newState = controller.handleDragEnd(
92
carouselState,
@@ -98,7 +97,6 @@ export const useCarouselTouch = ({
98
97
99
onStateUpdate(newState);
100
} else {
101
- // 수동 모드에서는 드래그 vs 클릭 구분
102
if (hasMoved) {
103
104
0 commit comments