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

Commit

Permalink
fix(modal): should stop propagation of touchmove
Browse files Browse the repository at this point in the history
  • Loading branch information
b2nil committed May 12, 2021
1 parent 7164d10 commit 2db17c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/modal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ const AtModal = defineComponent({

return (
h(View, mergeProps(attrs, {
class: rootClasses.value
class: rootClasses.value,
catchMove: true,
onTouchmove: handleTouchMove
}), {
default: () => [
h(View, {
Expand Down

0 comments on commit 2db17c4

Please sign in to comment.