NG-ZORRO/ng-zorro-antd

NzSelect : nzScrollToBottom occasionally not triggered using scrollbar

Opened this issue · 2 comments

Reproduction link

https://angular-apa5on.stackblitz.io

Steps to reproduce

Use scroll bar to scroll data in the select, and be quick.
First time scrollToBottom seems to be triggered.
Scroll to bottom a second or third time quickly, scrollToBottom don't seems to be triggered.

What is expected?

scrollToBottom have to be triggered

What is actually happening?

scrollToBottom isn't triggered

Environment Info
ng-zorro-antd 18.1.1
Browser Firefox / Chrome

Perhaps look here : bb0468e#diff-f4d6ab433f467f04c7bdacb46db860006ee2c2025c31d2fe38269144816583fd

Hi @asauty
Thank you for reporting this issue; a fix is on the way 👍

This Pr will fix this issue #8771 .