ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

ion-slide pagination with more than 10 slides

Open andremiguelaa opened this issue 10 years ago • 4 comments

Why can't we show pagination when have more than 10 slides?

andremiguelaa avatar Jan 27 '16 15:01 andremiguelaa

Recently ran into this. Something seems to add the ng-hide class to the pagination container when more than 10 slides exist.

I've resolved this for now by creating a custom pagination container, see my question / answer on stackoverflow for help http://stackoverflow.com/questions/35084310/ionic-pagination-is-being-hidden-with-new-ion-slides-component-swiper/35086395#35086395

Just like to add my solution is for Ionic 1.2.4

WHarris22 avatar Jan 29 '16 14:01 WHarris22

it's hardcoded. check L79: https://github.com/driftyco/ionic/blob/master/js/angular/directive/slides.js#L79

maybe we could pass an option hide-pagination="" which accept boolean or integer for hiding after n- slides. what do you think? could be done with this PR: https://github.com/driftyco/ionic/pull/4982

nicowenterodt avatar Feb 05 '16 15:02 nicowenterodt

This issue was moved to driftyco/ionic-v1#188

jgw96 avatar Jan 17 '17 15:01 jgw96

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.

ionitron-bot[bot] avatar Sep 04 '18 18:09 ionitron-bot[bot]