Houssam Badri
Houssam Badri

Reputation: 2509

Slides hang up when revisiting its parent Tab in Ionic 3

I have this slides in my Home page (the first tab in my Ionic 3 app):

   <ion-slides *ngIf="someProducts.length" effect='slide' loop="true" autoplay=2000 pager speed=1000>
      <ion-slide *ngFor="let product of someProducts"> 
        <img class="banner-img-class" [src]=product.picture/>
      </ion-slide>
    </ion-slides>

Every thing works fine when starting the app, but when I leave the current tab (home) to another one and get back to it, the sliding is frozen.

Is there any workaround to make it sliding, because I searched but in vain.

BTW: product.picture is a url to a firebase storage located image.

Upvotes: 0

Views: 73

Answers (1)

Houssam Badri
Houssam Badri

Reputation: 2509

The answer is quite simple, do not put slides in Ionic Tab, it's incompatible.

Upvotes: 1

Related Questions