Closed FIL1994 closed 7 years ago
Hi, I have the same issue with version 0.1.9.
I'm still having this issue in v0.1.10
I managed to solve this issue :)
same here even in version 0.1.10? any solution please
hi @martinmanzo and @MarwaAbuEssa you can load it correctly by ng-if load it after your data has been loaded otherwise keep ng-if false
e.g
<ui-carousel
slides="vm.Recommended"
slides-to-show="4"
slides-to-scroll="4"
infinite=false
initialSlide=0
on-init=""
on-before-change="vm.MoreRecommendedByTags(currentSlide)"
ng-if="vm.show"
>
when your data (vm.Recommended) is loaded by ajax call then make vm.show = true
@Assdi thank you so much it worked 👍 😄
my pleasure @MarwaAbuEssa
It always scrolls to the last slide when I load my app. I have autoplay set to false and initial-slide set to 1