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 43903a0 commit d3ed667Copy full SHA for d3ed667
packages/core/usePointerSwipe/index.ts
@@ -156,8 +156,8 @@ export function usePointerSwipe(
156
]
157
158
tryOnMounted(() => {
159
- // Disable scroll on for TouchEvents
160
- targetRef.value?.style?.setProperty('touch-action', 'none')
+ // Allow vertical scrolling, disable horizontal scrolling by touch
+ targetRef.value?.style?.setProperty('touch-action', 'pan-y')
161
162
if (disableTextSelect) {
163
// Disable text selection on swipe
0 commit comments