Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Carousel][iOS] Changing the slideIndex changes the indicator position, but not the visible slide #134

Open
MrSnoozles opened this issue May 22, 2023 · 0 comments

Comments

@MrSnoozles
Copy link

Hi,

I've noticed that setting the selected page programmatically changes the indicator, but not the visible slide.

Example (Vue):

<Carousel :selectedPage="slideIndex">
      <CarouselItem></CarouselItem>
      <CarouselItem></CarouselItem>
</Carousel>
export default {
    data() {
      return {
         slideIndex: 0
      }
   },

   mounted() {
       this.slideIndex = 1;
   }
}

This will make the indicator active at the seconds position, but the first slide is still visible. On Android it works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant