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

动画滑动效果速度有点慢 #5

Open
ynlh opened this issue May 7, 2018 · 3 comments
Open

动画滑动效果速度有点慢 #5

ynlh opened this issue May 7, 2018 · 3 comments

Comments

@ynlh
Copy link

ynlh commented May 7, 2018

  1. 可以自己调节速度吗,先默认的速度感觉很慢,会有卡卡的错觉
  2. 指示器小圆点在最后一个跑到第一个的时候没有平滑的动画,很前面的表现差异很大, 当图片滑动完毕才慢悠悠的变成第一个,会感觉很突兀
@f111fei
Copy link
Owner

f111fei commented May 7, 2018

  1. 麻烦看下文档 设置 autoplayTimeout这个属性就行了
  2. 最后到第一个的时候圆点的动画是故意设置没有的,我觉得这样设置比较好,如果你觉得不好,参见
    https://github.com/f111fei/react-native-banner-carousel#custom-pagination-indicator
    自定义动画效果

@ynlh
Copy link
Author

ynlh commented May 8, 2018

  1. 是指用户手指触摸滑动图片时松手时自动滑动的速度,不是自动轮播的间隔时间,比较市面上的轮播图,滑动确实会有慢的感觉(或许是我用的安卓机性能不行?)
  2. 动画效果可以没有,但实际体验是当最后一个图片手动滑动切换到第一个的时候,明显感觉比前面顺序切换的速度要慢,小圆点换位置会感觉慢了一拍(当然也可能是我吹毛求疵了,用了很多轮播的开源组件,比较了N个,最好还是作者你的体验更好,正常使用,其它市面的全是各种 BUG,让人无语)

@f111fei
Copy link
Owner

f111fei commented May 8, 2018

设置 animation 属性

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

2 participants