Ionic-framework: Ionic2 Swipe up and swipe down is not working, its only panup and panright is working

Created on 11 Apr 2017  路  5Comments  路  Source: ionic-team/ionic-framework

Ionic version: (check one with "x")
2.x**

I'm submitting a ... (check one with "x")

[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:
Now its working in pan up and pan down only

Expected behavior:
Swipe up and swipe down in ionic core event related in swipe left and swipe right

Steps to reproduce:

Related code:

`` swipeUp() and swipeDown() in ion-content

Other information:

Ionic info: ionic 2 angular2 typescript 2

All 5 comments

Hello! While we appreciate you opening an issue with us i am going to close this issue and ask that you open a new one that has the issue template filled out please. Thanks for using Ionic!

Thanks for your helping, I am waiting for your response

this is nice

(swipe)="swipeAll($event)"
(swipeleft)="swipeLeft($event)"
(swiperight)="swipeRight($event)"
(swipeup)="swipeUp($event)"
(swipedown)="swipeDown($event)"
>

swipeRight(event: any): any {
this.navCtrl.pop( { animate: true, animation: 'transition', duration: 1500, direction: 'back' })
console.log('Swipe Right', event);
}
swipeUp(event: any): any {

this.navCtrl.push(TwoPage,  { animate: true, animation: 'transition', duration: 2500, direction: 'forward' })
  console.log('Swipe Up', event);

}
swipeDown(event: any): any {
console.log('Swipe Down', event);
}
swipeLeft(event: any): any {
this.navCtrl.push(TwoPage, { animate: true, animation: 'transition', duration: 2500, direction: 'forward' })
console.log('Swipe Up', event);
}

npm install --save ionic-swipe-all
in my case swipeup and down not working can any one help me ..tnx in advance

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Was this page helpful?
0 / 5 - 0 ratings