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

如果在同一个nzLayout中使用多个nzSider, 隐藏其中一个时处理逻辑错误 #4288

Closed
kingecg opened this issue Oct 14, 2019 · 2 comments
Labels

Comments

@kingecg
Copy link

kingecg commented Oct 14, 2019

注意:不是用 https://ng.ant.design/issue-helper/#/zh 创建的 issue 会被立即关闭。

Case:
实现布局 左中右。

<nz-layout>
<nz-sider></nz-sider>
<nz-content></nz-content>
<nz-sider *ngIf="somecondition">
</nz-sider>
</nz-layout>

右边的sider根据一定条件存在/销毁
当右边sider被销毁时,布局错误的变成了上下结构

@zorro-bot
Copy link

zorro-bot bot commented Oct 14, 2019

Hello @kingecg, your issue has been closed because it does not conform to our issue requirements.
Please use the Issue Helper to create an issue, thank you!

你好 @kingecg,为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。
你可以通过 issue 助手 来创建 issue 以方便我们定位错误。谢谢配合!

@zorro-bot zorro-bot bot closed this as completed Oct 14, 2019
@zorro-bot zorro-bot bot added the Invalid label Oct 14, 2019
@zorro-bot
Copy link

zorro-bot bot commented Oct 14, 2019

Translation of this issue:

A logic error processing if a plurality of the same nzSider nzLayout, the hidden wherein

Note: It is not a issue https://ng.ant.design/issue-helper/#/zh created will be closed immediately.

Case:
Achieve the layout right and left.
`Html <Nz-layout> <Nz-sider> </ nz-sider> <Nz-content> </ nz-content> <Nz-sider * ngIf = "somecondition"> </ Nz-sider> </ Nz-layout> `
sider the right under certain conditions, the presence / Destruction
When the right sider is destroyed, it turned into the wrong layout structure from top to bottom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant