2.12.0
windows 7 , chrome 50
https://ant.design/components/table-cn/#components-table-demo-fixed-header
use fixed header table
donot show the gray arrows and scroll bar
scroll-y shows as long as using fixed header
workaroud i used https://github.com/initialdmg/ant-design/commit/d3beb3eaee4eecd72db16f60ebbf508123fd17db
See https://github.com/ant-design/ant-design/issues/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.
谢谢
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;
}
Most helpful comment
See https://github.com/ant-design/ant-design/issues/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.