Skip to content
This repository was archived by the owner on Dec 6, 2021. It is now read-only.

Commit 0c394ec

Browse files
committed
fix(modal): should stop propagation of touchmove
1 parent 05d3565 commit 0c394ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/modal/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ const AtModal = defineComponent({
166166
return (
167167
h(View, mergeProps(attrs, {
168168
class: rootClasses.value,
169-
onTouchmove: handleTouchMove,
169+
catchMove: true,
170+
onTouchmove: handleTouchMove
170171
}), {
171172
default: () => [
172173
h(View, {

0 commit comments

Comments
 (0)