Merge pull request #113 from CoryParsnipson/main
Remove preventDefault from swipeable and tappable.
This commit is contained in:
@@ -70,7 +70,6 @@ export function swipeable(node, { thresholdProvider }) {
|
||||
}
|
||||
|
||||
function handleUp(event) {
|
||||
event.preventDefault();
|
||||
removeEndEventListener(window, handleUp)
|
||||
removeMoveEventListener(window, handleMove)
|
||||
|
||||
|
||||
@@ -42,7 +42,6 @@ export function tappable(node) {
|
||||
}
|
||||
|
||||
function handleTapend(event) {
|
||||
event.preventDefault();
|
||||
removeFocusoutEventListener(node, handleTapend)
|
||||
|
||||
const touch = event.changedTouches[0]
|
||||
|
||||
Reference in New Issue
Block a user