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
50.94k stars 13.52k forks source link

Ionic Slides does not working properly with SlidePerView in decimal with centered slide in loop #14724

Closed IntelliJAbhishek closed 5 years ago

IntelliJAbhishek commented 6 years ago

I have created a slider where i need to show center slider 60% of screen and rest 20%-20% for prev and next slide.

I used below code

<ion-slides slidesPerView="1.75" loop="true" centeredSlides="true" spaceBetween="10>
.......
.......
</ion-slides>

Everything is perfect untill slidesPerView="2" but i need center slide to be larger so i have to reduce it I used 1.75. Now I'm getting lots of bugs when swiping sometimes previous slides hidden sometimes next slide hidden, sometimes slides getting skipped while swiping.(Below problem screenshots will clarify more).

1- Prev Slides hidden capture1

2- Next Slide hidden capture2

3- I Can't upload image for that because slides skipping while swiping

ionitron-bot[bot] commented 5 years ago

This issue has been automatically identified as an Ionic 3 issue. We recently moved Ionic 3 to its own repository. I am moving this issue to the repository for Ionic 3. Please track this issue over there.

If I've made a mistake, and if this issue is still relevant to Ionic 4, please let the Ionic Framework team know!

Thank you for using Ionic!

ionitron-bot[bot] commented 5 years ago

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