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

Error when only 1 image loaded to the carousel #17

Open
edxe opened this issue Apr 4, 2018 · 3 comments
Open

Error when only 1 image loaded to the carousel #17

edxe opened this issue Apr 4, 2018 · 3 comments

Comments

@edxe
Copy link

edxe commented Apr 4, 2018

adding just one image to the carousel will throw undefined Error

@edxe
Copy link
Author

edxe commented Apr 4, 2018

#18

@jpapillon
Copy link
Owner

@edxe Could you please provide a code sample to be able to reproduce this error?

@MimiLau
Copy link

MimiLau commented Jun 12, 2018

same error.
So if

<CarouselPager ref={ref => this.carousel = ref} initialPage={0} pageStyle={{backgroundColor: '#fff'}}>
  <View key={'page0'}></View>
</CarouselPager>

there will be an error...

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

3 participants