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 走马灯的内容区域动态获取时,会空白一段时间 #3164

Closed
small752 opened this issue Sep 26, 2016 · 8 comments
Closed

Comments

@small752
Copy link

antd 的版本是1.11.1
Carousel 的内容是异步动态获取的图片,效果具体是这样的:
先展示了一张图片,一秒中后直接变空白,大概过了2秒会切换图片,这时图片又能显示了,之后一直显示正常。

@small752
Copy link
Author

来个人帮忙看下哦

@benjycui
Copy link
Contributor

这个是正常的吧,异步获取就会面临网络问题。

@benjycui
Copy link
Contributor

没有明显性能问题之前,不需要搞什么异步。。

@afc163
Copy link
Member

afc163 commented Sep 27, 2016

不给 demo 怎么看?

@afc163
Copy link
Member

afc163 commented Sep 27, 2016

由于维护者能力所限,可能无法准确理解提问的意思,所以烦请提供一个可重现的演示,帮助我们更快的排查到问题。:smile:

http://codepen.io/anon/pen/wGOWGW?editors=001

@small752
Copy link
Author

我换个问题,我用的Carousel组件,但是我想调用react-slick的方法,如何能调到,比如slickNext();函数

@benjycui
Copy link
Contributor

补充了 ref

@lock
Copy link

lock bot commented May 4, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants