Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nz-tooltip ViewDestroyedError: Attempt to use a destroyed view: detectChanges #4386

Closed
erdongerzhong opened this issue Nov 5, 2019 · 1 comment · Fixed by #4387
Closed

Comments

@erdongerzhong
Copy link

Reproduction link

https://stackblitz.com/edit/nz-tooltip-issue

Steps to reproduce

tooltip的显示延迟是1秒,在nzTooltipTitle没有显示之前点击删除按钮,console会报错ViewDestroyedError: Attempt to use a destroyed view: detectChanges;鼠标移入删除按钮,等待nzTooltipTitle显示后,再点击删除,不会出现错误

What is expected?

there should be no errors

What is actually happening?

ViewDestroyedError: Attempt to use a destroyed view: detectChanges

Environment Info
ng-zorro-antd 8.4.1
Browser Google 77.0.3865.75
@wzhudev
Copy link
Member

wzhudev commented Nov 5, 2019

感谢提交 issue。我们会尽快修复这个问题。

wzhudev pushed a commit to wzhudev/ng-zorro-antd that referenced this issue Nov 5, 2019
wzhudev pushed a commit to wzhudev/ng-zorro-antd that referenced this issue Nov 8, 2019
wzhudev pushed a commit to wzhudev/ng-zorro-antd that referenced this issue Nov 8, 2019
close NG-ZORRO#3875
close NG-ZORRO#4317
close NG-ZORRO#4386

feat(module:tooltip,popover,popconfirm): remove component usage"

test: refactor tests and remove specs related to component api

refactor: remove redundant code

fix: fix property accessibility

refactor: extract isEmpty function

chore: start warning of deprecated API

chore: cleanup
wzhudev pushed a commit to wzhudev/ng-zorro-antd that referenced this issue Nov 19, 2019
close NG-ZORRO#3875
close NG-ZORRO#4317
close NG-ZORRO#4386

feat(module:tooltip,popover,popconfirm): remove component usage"

test: refactor tests and remove specs related to component api

refactor: remove redundant code

fix: fix property accessibility

refactor: extract isEmpty function

chore: start warning of deprecated API

chore: cleanup

fix(module:tooltip): fix hiding when hover on overlay
Ricbet pushed a commit to Ricbet/ng-zorro-antd that referenced this issue Apr 9, 2020
@hsuanxyz hsuanxyz mentioned this issue Apr 15, 2020
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants