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

Popover的定位元素在显示过程中被销毁,popover未销毁 #4316

Closed
wimastop opened this issue Oct 18, 2019 · 2 comments
Closed

Popover的定位元素在显示过程中被销毁,popover未销毁 #4316

wimastop opened this issue Oct 18, 2019 · 2 comments
Labels

Comments

@wimastop
Copy link

wimastop commented Oct 18, 2019

Popover的定位元素在显示过程中被销毁,popover未销毁且报错如下:

CodeLeakComponent.html:52 ERROR Error: ViewDestroyedError: Attempt to use a destroyed view: detectChanges
    at viewDestroyedError (core.js:19640)
    at Object.debugUpdateDirectives [as updateDirectives] (core.js:30039)
    at checkAndUpdateView (core.js:29438)
    at callWithDebugContext (core.js:30308)
    at Object.debugCheckAndUpdateView [as checkAndUpdateView] (core.js:30010)
    at ViewRef_.push../node_modules/@angular/core/fesm5/core.js.ViewRef_.detectChanges (core.js:20685)
    at NzPopoverComponent.push../node_modules/ng-zorro-antd/fesm5/ng-zorro-antd-tooltip.js.NzTooltipBaseComponent.show (ng-zorro-antd-tooltip.js:75)
    at NzPopoverDirective.push../node_modules/ng-zorro-antd/fesm5/ng-zorro-antd-tooltip.js.NzTooltipBaseDirective.show (ng-zorro-antd-tooltip.js:614)
    at ng-zorro-antd-tooltip.js:839
    at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423)

image

image

@zorro-bot
Copy link

zorro-bot bot commented Oct 18, 2019

Hello @sishenwuda, your issue has been closed because it does not conform to our issue requirements.
Please use the Issue Helper to create an issue, thank you!

你好 @sishenwuda,为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。
你可以通过 issue 助手 来创建 issue 以方便我们定位错误。谢谢配合!

@zorro-bot zorro-bot bot closed this as completed Oct 18, 2019
@zorro-bot zorro-bot bot added the Invalid label Oct 18, 2019
@zorro-bot
Copy link

zorro-bot bot commented Oct 18, 2019

Translation of this issue:

Popover positioning element is destroyed during display, popover undestroyed

Popover positioning element is destroyed during display, popover undestroyed and given as follows:
CodeLeakComponent.html: 52 ERROR Error: ViewDestroyedError: Attempt to use a destroyed view: detectChanges
    at viewDestroyedError (core.js: 19640)
    at Object.debugUpdateDirectives [as updateDirectives] (core.js: 30039)
    at checkAndUpdateView (core.js: 29438)
    at callWithDebugContext (core.js: 30308)
    at Object.debugCheckAndUpdateView [as checkAndUpdateView] (core.js: 30010)
    at ViewRef_.push ../ node_modules/@angular/core/fesm5/core.js.ViewRef_.detectChanges (core.js: 20685)
    at NzPopoverComponent.push ../ node_modules / ng-zorro-antd / fesm5 / ng-zorro-antd-tooltip.js.NzTooltipBaseComponent.show (ng-zorro-antd-tooltip.js: 75)
    at NzPopoverDirective.push ../ node_modules / ng-zorro-antd / fesm5 / ng-zorro-antd-tooltip.js.NzTooltipBaseDirective.show (ng-zorro-antd-tooltip.js: 614)
    at ng-zorro-antd-tooltip.js: 839
    at ZoneDelegate.push ../ node_modules / zone.js / dist / zone.js.ZoneDelegate.invokeTask (zone.js: 423)
! [Image] (https://user-images.githubusercontent.com/1542701/67089427-1a6c9900-f1da-11e9-9ec3-814ebee36948.png)

! [Image] (https://user-images.githubusercontent.com/1542701/67089336-eabd9100-f1d9-11e9-99b3-0789aa7e5bef.png)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant