NG-ZORRO / ng-zorro-antd

Angular UI Component Library based on Ant Design
https://ng.ant.design
MIT License
8.87k stars 3.94k forks source link

nz-back-top组件,用鼠标滚轮快速滚动到容器顶部,返回页面顶部的操作按钮未消失 #7199

Closed sharky556 closed 2 years ago

sharky556 commented 2 years ago

Reproduction link

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

Steps to reproduce

1.先滚动到返回页面顶部按钮显示出来 2.多次快速滚动到顶部,返回页面顶部操作按钮未消失

What is expected?

返回页面顶部操作按钮消失

What is actually happening?

返回页面顶部操作按钮未消失

Environment Info
ng-zorro-antd 11.4.2
Browser chrome
zorro-bot[bot] commented 2 years ago

Translation of this issue:

NZ-Back-TOP components, quickly scroll to the top of the container with the mouse roller, return to the operation button at the top of the page does not disappear

reproduction link

[https://stackblitz.com/edit/angular-ap8od5?file=src/app/app.component.ts](https://stackblitz.com/edit/angular-ap8od5?file=src/app/App. Component.ts)

steps to reproduce

  1. Scroll to the top button of the return page to display
  2. Quickly scroll to the top multiple times, return to the top of the page does not disappear

What is expected?

Back to the top of the action button disappears

What is actually happens?

Back to the top of the action button does not disappear

ENVIRONMENT INFO
Ng-Zorro-ANTD 11.4.2
Browser Chrome