Skip to content

carousel切换页面bug #7323

@happyfeet1996

Description

@happyfeet1996

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-ivy-kwvpcr?file=src/app/app.component.ts

Steps to reproduce

使用next()切换走马灯,index最后一页到第一页的切换nzAfterChange返回的index错误

What is expected?

最后一个切换到第一个返回的是5

What is actually happening?

应该是0

Environment Info
ng-zorro-antd 13.1.1
Browser Edge,chrome

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions