[ion-slides] autoplay stops working when I go back to page

When the page first loads autoplay is ok, but when I go to other page and gat back the autoplay stops.

Anyone has some tips on how to solve this?

Some code will help.

Its the basic slider implementation. Autoplays only on first boot.

<ion-slides   slidesPerView="3" loop="true"  spaceBetween="10" >
    <ion-slide *ngFor="let item of category.companyItems" (click)="modal(item)">
            <img  class="detalhesImagem" src="{{item.image_p}}"   />

The solution I found was to stop the slider on ionViewWillLeave and then starts it again in ionViewDidEnter


Thanks for the info !!!