NG-ZORRO / ng-zorro-antd-mobile

A configurable Mobile UI components based on Ant Design Mobile and Angular. 🐜
http://ng.mobile.ant.design
Other
800 stars 241 forks source link

When the array of CarouselSlide is changed from multiple data to one data, the page displays an error and 'autoplay' not stop, still scrolling #862

Open TheBeard30 opened 1 year ago

TheBeard30 commented 1 year ago

Version

7.0.0

Environment

chrome

Reproduction link

https://stackblitz.com/edit/angular-1qpzrp?file=src/app/app.component.ts

Steps to reproduce

  1. CarouselSlide的数组为多个数据,设置autoplay和infinite 2.改变数组为一条数据,页面仍然在滚动

    What is expected?

    数组改变为一个元素时,走马灯停止自动播放和滚动

    What is actually happening?

    走马灯没有停止自动播放和滚动

    Other?