Skip to content

Commit

Permalink
fix(VNavigationDrawer): element drag area size
Browse files Browse the repository at this point in the history
fixes #17352
  • Loading branch information
johnleider committed Apr 17, 2024
1 parent 71d4118 commit 8a52ff3
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 @@ -83,12 +83,12 @@ export function useTouch ({ isActive, isTemporary, width, touchless, position }:
inElement ||
(isActive.value && isTemporary.value)
) {
maybeDragging = true
start = [touchX, touchY]

offset.value = getOffset(isHorizontal.value ? touchX : touchY, isActive.value)
dragProgress.value = getProgress(isHorizontal.value ? touchX : touchY)

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

0 comments on commit 8a52ff3

Please sign in to comment.