Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Commit

Permalink
Merge pull request #39 from PronkMedia/fix-swipe-animation
Browse files Browse the repository at this point in the history
Fix 'animate: swipe' animation
  • Loading branch information
maykar authored Oct 30, 2020
2 parents fd3b7d7 + 893be24 commit 0cf4aee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions swipe-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ function swipeNavigation() {
appLayout.addEventListener("touchend", handleTouchEnd, { passive: true });
}

if (animate == "swipe") {
appLayout.style.overflow = "hidden";
}

function handleTouchStart(event) {
let ignored = [
"APP-HEADER",
Expand Down

0 comments on commit 0cf4aee

Please sign in to comment.