NG-ZORRO / ng-zorro-antd

Angular UI Component Library based on Ant Design
https://ng.ant.design
MIT License
8.87k stars 3.94k forks source link

nz-space 和*nzSpaceItem 回到导致内容消失 #6584

Closed John0King closed 3 years ago

John0King commented 3 years ago

Reproduction link

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

Steps to reproduce

see link

What is expected?

显示内容并添加 外边距

What is actually happening?

元素消失了

Environment Info
ng-zorro-antd 11.2.0
Browser edge
zorro-bot[bot] commented 3 years ago

Translation of this issue:

NZ-Space and * nzspaceItem return to cause content disappearance

reproduction link

[https://stackblitz.com/Edit/ng- Zorro-antd-ivy-v18a7m?file=src/app/app.component.html](https://stackblitz.com/edit/ng- ze-and- Ivy-v18a7m? file = src / app / app.component.html)

steps to reproduce

See Link

What is expected?

Display content and add the outer distance

What is actually happens?

Element disappears

ENVIRONMENT INFO
Ng-Zorro-ANTD 11.2.0
Browser Edge
vthinkxie commented 3 years ago

https://stackblitz.com/edit/ng-zorro-antd-ivy-ytrs7j?file=src/app/app.component.html 在 11.3.0 支持 *nzSpaceItem, 请升级版本