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 infinity&selectedIndex prop display error in rn Android #2174

Closed
xiaocjin opened this issue Dec 15, 2017 · 3 comments
Closed

Carousel infinity&selectedIndex prop display error in rn Android #2174

xiaocjin opened this issue Dec 15, 2017 · 3 comments

Comments

@xiaocjin
Copy link

Version

2.1.1

Environment

react-native 0.49、0.50

Reproduction link

https://github.com/ant-design/antd-mobile-samples/tree/master/rn-expo

Steps to reproduce

1、use expo open antdm demo
2、delete component Carousel‘s autoplay prop
3、run app on andrind
4、if set infinity prop, it will show the last view. if delete infinity prop, it will show the first view, selectedIndex is not work
5、in all cases, the active dot is on the right place

What is expected?

show the right view

What is actually happening?

if set infinity prop, it will show the last view. if delete infinity prop, it will show the first view


ios is fine

@zetaoWu
Copy link

zetaoWu commented Feb 6, 2018

+1

@shuicheng
Copy link

我这也是 infinite 功能不正常,不知道什么时候能修复?

@warmhug
Copy link
Contributor

warmhug commented May 25, 2018

Very Sorry, Carousel component is very complicated, we don't have time to do better, so recommend to find other better Carousel component.
Of course, if you are willing to help us do it well, then please have a pr in https://github.com/ant-design/ant-design-mobile-rn

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

5 participants