Skip to content

Commit

Permalink
chore(touch): increase touch area that triggers drag
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Apr 17, 2024
1 parent 8a52ff3 commit c1e8150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VNavigationDrawer/touch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export function useTouch ({ isActive, isTemporary, width, touchless, position }:
offset.value = getOffset(isHorizontal.value ? touchX : touchY, isActive.value)
dragProgress.value = getProgress(isHorizontal.value ? touchX : touchY)

maybeDragging = offset.value > -30 && offset.value < 30
maybeDragging = offset.value > -100 && offset.value < 100
endTouch(e)
addMovement(e)
}
Expand Down

0 comments on commit c1e8150

Please sign in to comment.