-
-
Notifications
You must be signed in to change notification settings - Fork 46.7k
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
table scroll y 是否可以考虑从height改为max-height? #2428
Comments
是否可以更新下antd的package.json里面rc-table的版本号呢?现在的版本号设置我没法更新到4.4.0 |
afc163
referenced
this issue
in react-component/table
Aug 5, 2016
Closed
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
本地环境
你做了什么?
引入table组件,设置了scroll={y: xxx}
你期待的结果是:
table的max-height是y值,当数据比较少高度不足y值时,table能够自适应高度
实际上的结果:
table的height是y值,当数据比较少高度不足y值时,table下面出现空白
可重现的在线演示
http://codepen.io/wmf/pen/jAkzXN?editors=001
The text was updated successfully, but these errors were encountered: