#56 : Add prevent default

This commit is contained in:
Vadim
2021-08-16 16:28:44 +03:00
parent 4e6f37ca91
commit b11098de50

View File

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