You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
app-error-handler.ts:49 TypeError: Cannot read property 'nativeElement' of undefined
at NzSwitchComponent.push.../../node_modules/ng-zorro-antd/fesm5/ng-zorro-antd-switch.js.NzSwitchComponent.ngOnDestroy (ng-zorro-antd-switch.js:134)
at callProviderLifecycles (core.js:22087)
at callElementProvidersLifecycles (core.js:22055)
at callLifecycleHooksChildrenFirst (core.js:22045)
at destroyView (core.js:30062)
at callViewAction (core.js:30188)
at execComponentViewsAction (core.js:30110)
at destroyView (core.js:30061)
at callViewAction (core.js:30188)
at execComponentViewsAction (core.js:30110)
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-start-dfawrw?file=package.json
Steps to reproduce
sometimes nz-switch occur error
What is expected?
normal active
What is actually happening?
I think change @ViewChild static is false => true
The text was updated successfully, but these errors were encountered: