Skip to content

Commit 67d59c2

Browse files
committed
Fix: add touch-action:none; in css as a replacement for e.preventDefault() that not work for onTouchMove
WICG/interventions#18
1 parent ef60088 commit 67d59c2

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

demo/js/app.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Carousel.vue

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<style lang="less">
22
.v-carousel {
3+
touch-action: none;
34
&-items {
45
overflow: hidden;
56
}

0 commit comments

Comments
 (0)