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 3b88c31 commit 945ec53Copy full SHA for 945ec53
packages/kit-headless/src/components/carousel/scroller.tsx
@@ -264,10 +264,8 @@ export const CarouselScroller = component$((props: PropsOf<'div'>) => {
264
const deltaY = Math.abs(touch.clientY - touchStartY);
265
266
if (carouselOrientation === 'horizontal' && deltaX > deltaY && deltaX > 5) {
267
- console.log('preventing default: horizontal');
268
e.preventDefault();
269
} else if (carouselOrientation === 'vertical' && deltaY > deltaX && deltaY > 5) {
270
- console.log('preventing default: vertical');
271
272
}
273
});
0 commit comments