Skip to content

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

Description

@MrSnoozles

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions