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
When datasource is empty ant set scroll in x at table component,the scrollbar should under the table, not under the table header #7142
Comments
I think scrollbar should not display when there is no data. |
@afc163 2.12.6 It still doesn't show the scroll bar |
? |
What's your problem? Please file a new issue by http://new-issue.ant.design/ |
When there is no data, the width of the column is vertical and not good |
I will revert the fix of this issue due to break #7298 and react-component/table#163 I can't find a perfect solution so I gonne keep this original way. |
To filter the list, I add a condition in one columns in view which is scrolled ,when no data show ,I can't scroll right to change or remove the conditions, To solve this, I add a tag block to show conditions which can be removed. I think scrollbar is in need @afc163 |
Sorry, scrollbar for empty data is hard to implement and bring a lot of other issues. Your case is whole another problem, Try getPopupContainer of Select: #3438 |
Actually I render a select component in each columns(more than 20), I think it's not the problem of render position. |
Version
2.12.5
Environment
window 7 、chrome 59.0.3071.115
Reproduction link
https://codepen.io/renhe1990/pen/vJmEMy
Steps to reproduce
1.create an empty table component.
2.set scroll={x:50000} (the width greater than screen width)
What is expected?
the scrollbar should under the table
What is actually happening?
the scrollbar under the table header
The text was updated successfully, but these errors were encountered: