Skip to content

Set maxHeight to inner body #128

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

Merged
merged 1 commit into from
Feb 27, 2017
Merged

Set maxHeight to inner body #128

merged 1 commit into from
Feb 27, 2017

Conversation

yesmeck
Copy link
Member

@yesmeck yesmeck commented Feb 27, 2017

Fix ant-design/ant-design#4893

假设有 <Table columns={columns} data={data} scroll={{ y: 300 }} />,当数据量很少的时候,table 的高度实际上达不到 300px,但是在 fixed table 上设置了 height="300px",导致 scroll table 的滚动条被 fixed table 挡住。

@yesmeck yesmeck requested a review from afc163 February 27, 2017 06:31
@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 90.928% when pulling 0629f23 on fixed-column-vertical-scroll into 048aaa3 on master.

@yesmeck yesmeck merged commit 7db2d43 into master Feb 27, 2017
@yesmeck yesmeck deleted the fixed-column-vertical-scroll branch February 27, 2017 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants