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

scroll bar shows at any time #6800

Closed
initialdmg opened this issue Jul 11, 2017 · 3 comments
Closed

scroll bar shows at any time #6800

initialdmg opened this issue Jul 11, 2017 · 3 comments
Labels
❓FAQ issues would be discussed a lot 🙅🏻‍♀️ WON'T RESOLVE

Comments

@initialdmg
Copy link

Version

2.12.0

Environment

windows 7 , chrome 50

Reproduction link

https://ant.design/components/table-cn/#components-table-demo-fixed-header

Steps to reproduce

use fixed header table

What is expected?

donot show the gray arrows and scroll bar

What is actually happening?

scroll-y shows as long as using fixed header


workaroud i used https://github.com/initialdmg/ant-design/commit/d3beb3eaee4eecd72db16f60ebbf508123fd17db

@afc163
Copy link
Member

afc163 commented Jul 11, 2017

See #4637

试过四种方式解决头部多余的 scrollbar,但是都会影响列的对齐或导致其他样式问题。


Tried four ways ot fix the extra scrollbar style of table header, but all would breaks column align or cause other strange issues.

@afc163 afc163 closed this as completed Jul 11, 2017
@initialdmg
Copy link
Author

谢谢

@mfaradzh
Copy link

You also want when changing styles of overflow to hidden to changes margin. This resolves issue of the table hiding part of the table.
.ant-table-fixed-header .ant-table-scroll .ant-table-header{ overflow: hidden !important; margin-bottom: 0px !important; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓FAQ issues would be discussed a lot 🙅🏻‍♀️ WON'T RESOLVE
Projects
None yet
Development

No branches or pull requests

3 participants