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

calling close of NzContextMenuService when no context menu is opened would lead to error #3768

Closed
wzhudev opened this issue Jul 11, 2019 · 0 comments · Fixed by #3782
Closed

Comments

@wzhudev
Copy link
Member

wzhudev commented Jul 11, 2019

LeftDataSourceComponent.html:2 ERROR TypeError: Cannot read property 'detach' of undefined
    at NzContextMenuService.close (ng-zorro-antd-dropdown.js:973)
    at LeftDataSourceComponent.clickOutSideMenu (index.ts:53)
    at Object.eval [as handleEvent] (LeftDataSourceComponent.html:2)
    at handleEvent (core.js:34789)
    at callWithDebugContext (core.js:36407)
    at Object.debugHandleEvent [as handleEvent] (core.js:36043)
    at dispatchEvent (core.js:22533)
    at core.js:24430
    at SafeSubscriber.schedulerFn [as _next] (core.js:27889)
    at SafeSubscriber.__tryOrUnsub (Subscriber.js:183)
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