Skip to content

Commit

Permalink
fix(ui/swipe): fix touchable bug
Browse files Browse the repository at this point in the history
affects: @varlet/ui
  • Loading branch information
haoziqaq committed Jun 23, 2021
1 parent 6c8ee94 commit 1c16e5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/varlet-ui/src/swipe/Swipe.vue
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export default defineComponent({
}
const handleTouchmove = (event: TouchEvent) => {
if (!touching) {
if (!touching || !props.touchable) {
return
}
Expand Down

0 comments on commit 1c16e5d

Please sign in to comment.