@jorgemartiinez19 wrote:
I’m trying to make a todo app and I’m having problems implementing the package of ionic long press.
I’ve got a ngFor of cards like this:
<ion-card class="animate fadeIn fast" (click)="goToTasks()" ion-button ion-long-press [interval]="500" (pressed)="showOptions(list.id)" > <ion-card-header class="ion-text-left"> <ion-row> <ion-col> <ion-title class="ion-text-left">{{list.name}}</ion-title> </ion-col> </ion-row> </ion-card-header> <ion-card-content> <ion-row class="fecha-row"> <ion-badge>{{list.created_at | date}}</ion-badge> </ion-row> <ion-row> <ion-col size="6"> <ion-icon name="attach" color="tertiary"> </ion-icon> <ion-text> {{list.tasks.length}} items</ion-text> </ion-col> <ion-col size="6"> <ion-icon name="checkmark-circle" color="primary"> </ion-icon> <ion-text> {{numCompleted}}/{{list.tasks.length}} completed</ion-text> </ion-col> </ion-row> </ion-card-content> </ion-card>And the long press is working but the scroll not, I can scroll on the computer browser with the mouse but when I try the app on a real device I just can’t scroll. If i remove the ion-long-press I can do it, so I’m sure that the problem is with that npm package.
What should i do to fix this?
(sorry for my english)
Posts: 1
Participants: 1