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

grid文档错误 #7564

Open
1 task
wx-11 opened this issue May 10, 2024 · 1 comment · May be fixed by #7579
Open
1 task

grid文档错误 #7564

wx-11 opened this issue May 10, 2024 · 1 comment · May be fixed by #7579

Comments

@wx-11
Copy link

wx-11 commented May 10, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.1

Environment

最新

Reproduction link

https://www.antdv.com/components/grid-cn#api:~:text=space%2Dbetween%20%7C-,space%2Devenly,-%7C%20%7B%5Bkey%20in

Steps to reproduce

使用 <a-row justify="space-around" align="middle">正常 但是改成evenly无效 当然我可以通过其他css属性设置

What is expected?

支持space-evenly或者取消文档说明

What is actually happening?

space-evenly没有效果


我观察了到 #5352 曾经pr过 evenly的支持。但是没被接受,但是文档却有evenly的支持说明api,我一度以为是我打错单词或者不规范,折腾半个多小时,才发现是文档错误。请修复这个问题,防止用户误解,像这样显示支持的属性即可:https://arco.design/vue/component/grid#flex:~:text=%27start%27%20%7C%20%27center%27%20%7C%20%27end%27%20%7C%20%27space%2Daround%27%20%7C%20%27space%2Dbetween%27

@wx-11
Copy link
Author

wx-11 commented May 10, 2024

wrap | 是否自动换行 | boolean | false -- | -- | -- | --

这个实测 默认值是true 不设置也是true 而不是false

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

Successfully merging a pull request may close this issue.

1 participant