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
when changing the tabs in modal, the tab content comes from the page which is out of the modal #8435
Comments
Hi @kjklhr , app.component.html <nz-modal [(nzVisible)]="isVisible" nzTitle="The first Modal" [nzClassName]="'my-modal-wrapper'" (nzOnCancel)="handleCancel()" (nzOnOk)="handleOk()">
<ng-container *nzModalContent>
<nz-tabset>
<nz-tab nzTitle="Tab 1">Content of Tab Pane 1</nz-tab>
<nz-tab nzTitle="Tab 2">Content of Tab Pane 2</nz-tab>
<nz-tab nzTitle="Tab 3">Content of Tab Pane 3</nz-tab>
</nz-tabset>
</ng-container>
</nz-modal> app.component.scss ::ng-deep {
.my-modal-wrapper {
overflow: hidden;
}
} |
@ParsaArvanehPA |
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-ivy-que38s?file=src%2Fapp%2Fapp.component.ts
Steps to reproduce
click tab2
What is expected?
the tab content comes from the modal
What is actually happening?
the tab content comes from the page
The text was updated successfully, but these errors were encountered: