Closed jeffminsungkim closed 6 years ago
Hi @jeffminsungkim, thank you for your issue. Can you please provide a plunker (or similar) that demonstrates this issue? I'm using this in production with no problems until now.
Meanwhile I'm going to update to angular 5 as soon as I can.
Hello! @diogoqueiros, thanks for the quick response. Wasn't expect that. Here's how my code looks like. Btw I'm calling this page as a modal.
showProfileModal() { this.modalCtrl.create('ProfilePage').present(); }
profile.html
<ion-grid swipeAll (swipedown)="swipeDown($event)">
<ion-row align-items-center>
<ion-col col-12>
<img *ngIf="previewImage;then previewImg else customImg">
<ng-template #previewImg><img [src]="previewImage" (click)="presentActionSheetTwo()"></ng-template>
<ng-template #customImg><img [src]="avatar" (click)="presentActionSheet()"></ng-template>
</ion-col>
<ion-col col-12>
<h3>{{displayName}}</h3>
</ion-col>
</ion-row>
</ion-grid>
profile.ts
swipeDown(event: any): any {
console.log('swipeDown', event);
}
Hi @jeffminsungkim. I'm using a modal too. Your example works fine for me. Did you import IonicSwipeAllModule into your NgModule?
Hey @diogoqueiros I've just created a new test project and it works like a charm. I should double check my previous project. Thank you @diogoqueiros 👍
Left and Right works fine though. Do you still even update this repo?
cli packages: (/usr/local/lib/node_modules)
global packages:
local packages:
System: