arschmitz/JQM-Swipefix

Swipe Up/Down

Closed this issue · 2 comments

I have added another if statement to capture swipe up/down. But, it's not quite right.

        if ( time < swipe.durationThreshold && y > swipe.verticalDistanceThreshold && ( x  + offset )
                < swipe.horizontalDistanceThreshold ) {

            start.origin.trigger( "swipe" ).trigger( y ? "swipeup" : "swipedown" );
        }

What am I doing wrong?

i think your issue may be related to issue #2 check the fix in that issue it should fix your issue as well

closing issue since there has been no response from OP