Hello, i am trying to do a state where there is a ion-slide-box showing the products from a reseller i have. So, i am using the ng-repeat directive to do so, and it works fine. But when i put the pager on the slide box, it shows 4 dots (my products array only have 2 items…). Here is a piece of code:
Hello @ramon, i have been trying to fix this for some time now, but since it’s not a critical feature (for now at least) i’m more focused on my app’s functionalities, so i just changed the pager to hidden
<ion-slide-box show-pager="false">
Whenever i get back to this issue, i will try to solve it again, but so far, i didn’t have any problems with it being like this. (I only use the slide-box to show some images, not really using it’s informations so far)
Seeing the same issue, when the underlying collection changes and I already swiped at least once.
I have some slides (they are images) that change after a button press. When the collection changes, the slides update and the pager changes as well. However, if I first change slides, then change the collection, the pager duplicates. Additionally, if I move to the second slide, then change the collection, the new collection is displayed but the second slide is active. It seems like the pager is not getting reset when the collelction changes.
Yes, the problem is that i have an array of say, 2 values, and when i put a ng-repeat on a slide box, there are double the dots (or slides), wich in this case is 4. I have changed the design of my app, so i’m no longer using this feature, but it might be occuring with other people too.
I’m quite new to the Ionic Forums and all, where should i open an issue for this?
Was this issue ever sorted? I am having the problem where I have one ion-slide-box with many ion-slides which are rendered using ng-repeat. However if I change the ng-repeat array after sliding once or more, and calling:
$ionicSlideBoxDelegate.slide(0);
$ionicSlideBoxDelegate.update();
…the slide changes correctly but the paging icons are wrong.
I debugged the ionic code and it looks like when update()is called, the slide count is including all the previous array’s slide still, which all have .ng-leave class on them