ionic-team / ionic-framework

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
https://ionicframework.com
MIT License
51.1k stars 13.51k forks source link

Slider loads on last slide in iOS #17538

Closed luissanchez0305 closed 5 years ago

luissanchez0305 commented 5 years ago

Bug Report

*Ionic version: 4.10.3

Current behavior: I created the slider with fixed images When is open in iOS the slider rush to last slide by itself. It work properly in Android

Expected behavior: It should open in first slide like in Android

Steps to reproduce: Just declare the ion-slides on the html and import the slides on the .ts file

Related code: slider.html

        <ion-slides #slides>
          <ion-slide>
              <img src="./assets/imgs/instructions/{{ 'culture' | translate }}/1.png"/>
          </ion-slide>
          <ion-slide>
              <img src="./assets/imgs/instructions/{{ 'culture' | translate }}/2.png"/>
          </ion-slide>
          <ion-slide>
              <img src="./assets/imgs/instructions/{{ 'culture' | translate }}/3.png"/>
          </ion-slide>
        </ion-slides>

Other information:

Ionic info: ionic (Ionic CLI) : 4.10.3 (/home/ubuntu/.nvm/versions/node/v6.11.2/lib/node_modules/ionic) Ionic Framework : ionic-angular 3.9.2 @ionic/app-scripts : 3.1.7-201801172029

Cordova:

cordova (Cordova CLI) : 7.1.0 Cordova Platforms : android 7.1.4, ios 4.5.5 Cordova Plugins : no whitelisted plugins (12 plugins total)

System:

NodeJS : v6.11.2 (/home/ubuntu/.nvm/versions/node/v6.11.2/bin/node) npm : 5.10.0 OS : Linux 4.9

ionitron-bot[bot] commented 5 years ago

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.