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

Tab switching. If there are sub-tabs in a single tab, the selected status of the sub-tabs is not underlined. #3999

Closed
ng-nest-moon opened this issue Aug 13, 2019 · 0 comments · Fixed by #6016

Comments

@ng-nest-moon
Copy link

Reproduction link

https://stackblitz.com/edit/angular-mbwrpo

Steps to reproduce

Switch to the second tab, which has no underline selected

What is expected?

Switch to the second tab. Subtabs are underlined

What is actually happening?

Switch to the second tab, which has no underline selected

Environment Info
ng-zorro-antd 8.1.2
Browser 版本 74.0.3729.169(正式版本) (32 位)

It may be that the display: none style is set, and the underlined element cannot get the width.
I looked at the source code. The tabs component is implemented in a way similar to the Angular Material tabs component. They also have similar problems that have not been solved.

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.

5 participants
@vthinkxie @hsuanxyz @wenqi73 @ng-nest-moon and others