Unable to vertical scrolling with many ion-card


#1

Hi there,

I try to list some items into ion-card.
It works well, but the vertical scrolling does not works with it, any idea why ?

Here my code :

<div [ngSwitch]="menuSelection">
    <ion-list *ngSwitchWhen="'plats'">
        <ion-card *ngFor="let plat of plats">
            <img src="myPicture">
            <ion-card-content>
                <p secondary text-center>nameOfMyItem</p>
            </ion-card-content>
            <ion-row>
                <ion-col width-25 center text-center class="plus-or-minus">
                    <button darkblue clear large (click)="changeQuantity($event, 'plat', 'minus', 1)">
                        <ion-icon name="md-remove"></ion-icon>
                    </button>
                </ion-col>
                <ion-col width-50 center text-center>
                    <div>
                        <ion-icon name="md-close" darkblue class="quantity">
                            <span>{{ quantity.firstPlat }}</span>
                        </ion-icon>
                    </div>
                </ion-col>
                <ion-col  width-25 center text-center class="plus-or-minus">
                    <button darkblue clear large (click)="changeQuantity($event, 'plat', 'plus', 1)">
                        <ion-icon name="md-add"></ion-icon>
                    </button>
                </ion-col>
            </ion-row>
        </ion-card>
    </ion-list>

Thanks by advance for help ! :slight_smile:


#2

Shame on me, I’ve forgot a at the end :confused: