Skip to content

InitialIndex does not work #94

@thenayjourney

Description

@thenayjourney

Hello..I am implementing this package for my project. But unfortunately initialIndex does not work. I wanted to start from provided card index.

Here is my example.

<CardStack
      style={styles.content}
      onSwiped={onHandleCardSwipe}
      renderNoMoreCards={() => RenderNoMoreCards()}
      initialIndex={2} // here it does not start from index 2
      onSwipedAll={() => isDoneAllCards(true)}
      ref={useSwiper}>
          // Here is Card Components with 8 items array
 </CardStack>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions