Skip to content

Circle Loop Bug  #168

@lirda394

Description

@lirda394

Hello,
I have been trying to implement the circleloop prop and I have been getting some weird results. I put a link to the screen recording that captures the issue. The issue is that once the slider gets to the last image it slides left to the first image then it snaps back all the way to the right.

I don't want the left image to show and I have seen people demoing the slider and they do not have this problem.

Screen Recording-
https://user-images.githubusercontent.com/17896518/219474921-a452f169-369e-4f5d-999a-eaa76d0623e3.mov

Slider Code(within a safeareaview):

<SliderBox images={images}
onCurrentImagePressed={() => navigation.navigate("SeriesPage")}
autoplay={true}
autoplayInterval={1000}
circleLoop/>

styles.banner:
banner: {
marginBottom: 10
}

Images Code:
const images = [
"https://storageconverge.blob.core.windows.net/pictures/jay-mantri-TFyi0QOx08c-unsplash.jpg",
"https://storageconverge.blob.core.windows.net/pictures/eberhard-grossgasteiger-y2azHvupCVo-unsplash.jpg",
"https://storageconverge.blob.core.windows.net/pictures/qingbao-meng-01_igFr7hd4-unsplash.jpg",
]

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