Closed towry closed 1 year ago
It doesn't work on iPhone8Plus latest system.
Hammer.js emit pancancel event immediately.
pancancel
See the issue: https://github.com/hammerjs/hammer.js/issues/1050#issuecomment-267595556
It works if I add touch-action: none to the pan-area element and the contents element. https://github.com/atsutopia/vue-swipeable-bottom-sheet/blob/master/src/components/SwipeableBottomSheet.vue#L10
touch-action: none
pan-area
contents
It doesn't work on iPhone8Plus latest system.
Hammer.js emit
pancancel
event immediately.See the issue: https://github.com/hammerjs/hammer.js/issues/1050#issuecomment-267595556
It works if I add
touch-action: none
to thepan-area
element and thecontents
element. https://github.com/atsutopia/vue-swipeable-bottom-sheet/blob/master/src/components/SwipeableBottomSheet.vue#L10