Closed vthinkxie closed 4 years ago
https://stackblitz.com/edit/ng-zorro-antd-start-nqwret 把导航从路由组件移动到app.component不会闪烁。
https://stackblitz.com/edit/ng-zorro-antd-start-sxbud9 使用router.navigate代替routerlink也不会闪烁
transition error without ng-zorro-antd https://stackblitz.com/edit/ng-zorro-antd-start-uvffqm?file=src%2Fapp%2Fapp.component.ts
For workaround, using imperative className assignment rather than class binding:
https://stackblitz.com/edit/ng-zorro-antd-start-jw8faq?file=src/app/app.component.ts
This is likely to be a Chrome issue triggered by specific timing, while not sure what the real cause, using a different action sequence may get rid of this issue.
https://stackblitz.com/edit/ng-zorro-antd-start-qgr95a?file=src%2Fapp%2Fhome%2Fhome.component.html