NG-ZORRO / ng-zorro-antd

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

【BUG】 nz-tooltip does not vanish after route navigation with reusable routes #1530

Open yjq8023 opened 6 years ago

yjq8023 commented 6 years ago

Version

0.7.1

Environment

WIN10,谷歌浏览器

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-setup-idvrcl?file=app/app.module.ts

Steps to reproduce

使用路由复用,并使用气泡弹框,在气泡弹框内进行点击跳转路由

What is expected?

路由跳转后弹框关闭

What is actually happening?

路由跳转后弹框无法关闭,造成页面卡死

Other?

vthinkxie commented 6 years ago

ref https://github.com/angular/material2/issues/11478

luohong123 commented 5 years ago

I have a same problem,title can not close wheren navigation

luohong123 commented 5 years ago

Is there any other way to solve the problem besides routing multiplexing policy?(请问除了路由复用策略,还有其它办法可以解决吗?项目中不能去掉路由复用)

vthinkxie commented 5 years ago

@luohong123 监听路由变换,手动关闭tooltip

wzhudev commented 4 years ago

Update reproduction: https://stackblitz.com/edit/ng-zorro-antd-tooltip-router?file=src/app/app.component.html.