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-modal 内的nz-tabset 没有默认选中的样式 #2286

Closed
wzengguang opened this issue Oct 16, 2018 · 2 comments
Closed

nz-modal 内的nz-tabset 没有默认选中的样式 #2286

wzengguang opened this issue Oct 16, 2018 · 2 comments

Comments

@wzengguang
Copy link

Version

1.6.0

Environment

ng-zorro 1.6

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-start-gxzs9p?file=src/app/app.component.html

Steps to reproduce

打开重现链接,点击button

What is expected?

nz-tabset 有默认选中的样式

What is actually happening?

nz-tabset 没有默认选中的样式

Other?

@wzengguang
Copy link
Author

<nz-tabset *ngIf="editRole">
如果我给nz-tabset加个ngif, editRole变量是通过http请求成功后赋值的,(也就意味着nz-tabset的渲染时间晚于nz-nodal)那么样式能正常显示出来。

@wzhudev
Copy link
Member

wzhudev commented Nov 22, 2018

I think it's related to #778. Working on it.

@vthinkxie vthinkxie self-assigned this Feb 26, 2019
hsuanxyz added a commit to hsuanxyz/ng-zorro-antd that referenced this issue Mar 11, 2019
hsuanxyz added a commit to hsuanxyz/ng-zorro-antd that referenced this issue Mar 14, 2019
Ricbet pushed a commit to Ricbet/ng-zorro-antd that referenced this issue Apr 9, 2020
* fix(module:modal): integrate with tabs and auto-size

* fix(module:autosize): bug in modal

* test(module:autosize): add resize test case

close NG-ZORRO#2286, close NG-ZORRO#2713
hsuanxyz added a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
* fix(module:modal): integrate with tabs and auto-size

* fix(module:autosize): bug in modal

* test(module:autosize): add resize test case

close NG-ZORRO#2286, close NG-ZORRO#2713
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants