-
Notifications
You must be signed in to change notification settings - Fork 575
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
[Loading] 目前是 display: inline-block, 应该是 display: block 才正确 #124
Comments
为什么要是block?理由? |
对于大多数场景而言这种覆盖式的loading基本都是用于块状元素。如果默认设为inline-block会影响到子级元素的一些计算。 比如有可能会造成Table的锁列失效等 |
是的,比如一个表单 form,各个组件的宽度是100%,如果加了loading,表单就会按内容宽度计算 |
这个修改影响比较大,可能会造成布局错乱。算br了 |
可以加个API吧。默认还是inline-block,可以通过这个属性变更为display: block。现在每次都是通过style的方式或者复写CSS来修改的。 |
inline=false 如何 |
@jdkahn this issue reporter wants a loading with style display: block Now bindoon provides a solution: add a new props inline and this default value = true, if inline === false, loading style should be "display: block" |
@tao1991123 When used right now the loader is |
default value of |
1.11.10 released |
Describe the bug
Loading 目前是 display: inline-block, 应该是 display: block 才正确
Version of the Next Components
latest
Reproduce URL
直接看图:
The text was updated successfully, but these errors were encountered: