#56 : Add prevent default
This commit is contained in:
@@ -70,6 +70,7 @@ export function swipeable(node, { thresholdProvider }) {
|
||||
}
|
||||
|
||||
function handleUp(event) {
|
||||
event.preventDefault();
|
||||
removeEndEventListener(window, handleUp)
|
||||
removeMoveEventListener(window, handleMove)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user