NG-ZORRO / ng-zorro-antd

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

nz-tooltip cannot hdie when used in <nz-select nzShowSearch> #6024

Open TXZhe opened 3 years ago

TXZhe commented 3 years ago

Reproduction link

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

Steps to reproduce

  1. Input "Jac" in the search bar. Hover the cursor over the "Jack". The tooltip (Jack) comeout;
  2. Do not move the cursor and continue typing "k1". The tooltip (Jack1) comeout while the (Jack) dosen't hide;
  3. Continue typing, the options in the drop-down menu disappear, but the tooltips (Jack) and (Jack1) while still remain.

What is expected?

Typing in the search box. When the selecting option disappears from the drop-down list, its corresponding tooltip also hide.

What is actually happening?

When the selecting option disappears from the drop-down list, its corresponding tooltip still remains on the page and never hide.

Environment Info
ng-zorro-antd 10.1.0
Browser chrome
yangjunhan commented 3 years ago

Please double check your reproduction project. It seems to contain errors.