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走马灯,以及react-slick的bug #2550

Closed
chairui2001 opened this issue Jul 29, 2016 · 9 comments
Closed

Carousel走马灯,以及react-slick的bug #2550

chairui2001 opened this issue Jul 29, 2016 · 9 comments

Comments

@chairui2001
Copy link

本地环境

  • antd 版本: 1.6.3
  • 操作系统及其版本:win7 64位旗舰
  • 浏览器及其版本: chrome 版本 45.0.2454.99 (64-bit)

你做了什么?

查看Carousel走马灯示例,进而观看react-slick的示例,发现bug

你期待的结果是:

正常运行

实际上的结果:

将浏览器窗口化并改变窗口宽度,来回几次,发现自动滚动播放的效果停止,而且也无法点击小按钮来切换

可重现的在线演示

http://webrafter.com/opensource/react-slick

@benjycui
Copy link
Contributor

react-slick 的 bug akiran/react-slick#337

@benjycui
Copy link
Contributor

benjycui commented Jul 31, 2016

其实基于 Ant Motion 重做一个 rc-carousel 可行么? @afc163 @jljsj33

react-slick 感觉基本不维护了,作者的 GitHub 活跃度也很低。。。

@afc163
Copy link
Member

afc163 commented Jul 31, 2016

其实 @jljsj33 已经搞了一个。https://github.com/react-component/banner-anim

@chairui2001
Copy link
Author

谢谢回复,很有帮助

@se1phine
Copy link

se1phine commented Sep 8, 2016

1.11.0 antd 已经更新react-slick至0.13,使用时在chrome 52上必须调整一次浏览器大小才能使轮播图适应宽度,其他浏览器好像没这个问题。akiran/react-slick#370

@zhy9527
Copy link

zhy9527 commented Oct 24, 2016

@zhangda47 我的也是这个问题,而且所有浏览器都是,slick版本试了好几个都不能解决,请问你的解决了吗

@se1phine
Copy link

@727177817 我换成了ant的动画组件,banner-anim

@afc163
Copy link
Member

afc163 commented Feb 21, 2017

akiran/react-slick#543

@lock
Copy link

lock bot commented May 2, 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 2, 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

5 participants