Merge pull request #113 from CoryParsnipson/main

Remove preventDefault from swipeable and tappable.
This commit is contained in:
Vadim
2022-09-03 12:54:29 +03:00
committed by GitHub
2 changed files with 0 additions and 2 deletions

View File

@@ -70,7 +70,6 @@ export function swipeable(node, { thresholdProvider }) {
}
function handleUp(event) {
event.preventDefault();
removeEndEventListener(window, handleUp)
removeMoveEventListener(window, handleMove)

View File

@@ -42,7 +42,6 @@ export function tappable(node) {
}
function handleTapend(event) {
event.preventDefault();
removeFocusoutEventListener(node, handleTapend)
const touch = event.changedTouches[0]