-
Notifications
You must be signed in to change notification settings - Fork 4k
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] Auto switch from the last slide to the first one seems strange #2218
Comments
Duplicates #2014. But I am afraid we are now short of hands fixing this animation. Thanks for your report. Actually since the React version of Ant Design implemented this animation, it wouldn't be hard to do. Are you interested in that? @wanpeng2008 Conversations could be continued there. |
Hi Wendell,
Thanks for your confirm. I'd like to fix it within the next few days.
Wendell <notifications@github.com> 于2018年9月29日周六 下午8:50写道:
… Duplicates #2014 <#2014>.
But I am afraid we are now short of hands fixing this animation. Thanks for
your report.
Actually since the React version of Ant Design implemented this animation,
it wouldn't be hard to do. Are you interested in that? @wanpeng2008
<https://github.com/wanpeng2008>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2218 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGI7PF0AWRsaweSRgxG5WRvTTIyuRE1mks5uf2yogaJpZM4XAeK7>
.
|
@wanpeng2008 Ok then. I will assign this issue to you. |
@wanpeng2008 开源社区的工作都应该在公开的地方进行, 比如 GtiHub 的 issue. 你向哪里推送的代码? 应该推送你的修改到你 fork 的项目, 然后发起 pull request. |
to fix issues: NG-ZORRO#2218, also NG-ZORRO#2014 the switch action is implemented by animation instead of transform, test case carousel ‘should effect change work’ is temporarily pending
to fix issues: NG-ZORRO#2218, also NG-ZORRO#2014 the switch action is implemented by animation instead of transform; swipeInProgress changes to animation implementtaion. Update test case 'should effect change work'. Add Test case 'should slide switch follow the shortest path'. Pending test case 'should swipeInProgress work', cause haven't found a good way to test animations.
to fix issues: NG-ZORRO#2218, also NG-ZORRO#2014 the switch action is implemented by animation instead of transform; swipeInProgress changes to animation implementtaion. Update test case 'should effect change work'. Add Test case 'should slide switch follow the shortest path'. Pending test case 'should swipeInProgress work', cause haven't found a good way to test animations.
to fix issues: NG-ZORRO#2218, also NG-ZORRO#2014 the switch action is implemented by animation instead of transform; swipeInProgress changes to animation implementtaion. Update test case 'should effect change work'. Add Test case 'should slide switch follow the shortest path'. Pending test case 'should swipeInProgress work', cause haven't found a good way to test animations.
@0maxxam0 funded this issue with $20. See it on IssueHunt |
* refactor(module:carousel): refactor * fix: move some listeners to body * fix: fix vertical context preparing dragging from first to last * fix: opacity strategy transition * fix(module:breadcrumb): add input boolean * feat: support SSR * fix: lint * fix: fix active index not reset when content changes close #2468, close #2218
@vthinkxie has rewarded $18.00 to @wendzhue. See it on IssueHunt
|
* refactor(module:carousel): refactor * fix: move some listeners to body * fix: fix vertical context preparing dragging from first to last * fix: opacity strategy transition * fix(module:breadcrumb): add input boolean * feat: support SSR * fix: lint * fix: fix active index not reset when content changes close NG-ZORRO#2468, close NG-ZORRO#2218
* refactor(module:carousel): refactor * fix: move some listeners to body * fix: fix vertical context preparing dragging from first to last * fix: opacity strategy transition * fix(module:breadcrumb): add input boolean * feat: support SSR * fix: lint * fix: fix active index not reset when content changes close NG-ZORRO#2468, close NG-ZORRO#2218
* refactor(module:carousel): refactor * fix: move some listeners to body * fix: fix vertical context preparing dragging from first to last * fix: opacity strategy transition * fix(module:breadcrumb): add input boolean * feat: support SSR * fix: lint * fix: fix active index not reset when content changes close NG-ZORRO#2468, close NG-ZORRO#2218
Version
1.6.0
Environment
web
Reproduction link
https://ng-zorro-antd-start-pv7vcd.stackblitz.io
Steps to reproduce
Make a carousel with auto-play following the guide
What is expected?
The switch from the last slide to first one should be smooth and clear.
What is actually happening?
It looks like all slides go backwards quickly before switching to the first slide.
Other?
Root cause : in carousel switch implementation, it should use animation instead of css transform. I think i can help on this issue.
The text was updated successfully, but these errors were encountered: