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

Ion slider not showing properly when orientation change #16319

Closed akhilsanker closed 5 years ago

akhilsanker commented 6 years ago

Bug Report

Ionic Info Run ionic info from a terminal/cmd prompt and paste the output below.

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.19.0
    ionic (Ionic CLI) : 3.19.0

global packages:

    cordova (Cordova CLI) : 7.1.0 

local packages:

    @ionic/app-scripts : 3.2.0
    Cordova Platforms  : android 6.3.0 ios 4.5.5
    Ionic Framework    : ionic-angular 3.9.2

System:

    Node  : v8.9.1
    npm   : 5.5.1 
    OS    : macOS
    Xcode : Xcode 10.1 Build version 10B61 

Describe the Bug When the phone orientation is changed, the slider is not showing properly. 'transform' value of '.swiper-wrapper' class is not changing when the orientation is changed even slider.update() is called.

Expected Behavior When phone is in protrait mode value of 'transfrom', for iPhone 6, changes from 0,375,750 on each slide change. On changing the orientation to landscape, it should change to 0 , 667, 1334 on each slide change. But it remains as 0,375,750.

ionitron-bot[bot] commented 5 years ago

Thanks for the issue! We have moved the source code and issues for Ionic 3 into a separate repository. I am moving this issue to the repository for Ionic 3. Please track this issue over there.

Thank you for using Ionic!

ionitron-bot[bot] commented 5 years ago

Issue moved to: https://github.com/ionic-team/ionic-v3/issues/830