🐛 Fix Table header extra scrollbar control

close #4637
close #14211

https://github.com/react-component/table/pull/333
This commit is contained in:
afc163 2019-06-04 14:20:18 +08:00
parent c2b1384377
commit 553487e006
No known key found for this signature in database
GPG Key ID: 738F973FCE5C6B48
2 changed files with 11 additions and 1 deletions

View File

@ -600,6 +600,16 @@
opacity: 0.9999;
}
&-hide-scrollbar {
// https://github.com/ant-design/ant-design/issues/4637
// https://stackoverflow.com/a/54101063
// https://github.com/react-component/table/pull/333
scrollbar-color: transparent transparent;
&::-webkit-scrollbar {
background-color: transparent;
}
}
&-fixed-left,
&-fixed-right {
position: absolute;

View File

@ -79,7 +79,7 @@
"rc-slider": "~8.6.5",
"rc-steps": "~3.4.1",
"rc-switch": "~1.9.0",
"rc-table": "~6.5.0",
"rc-table": "~6.6.0",
"rc-tabs": "~9.6.0",
"rc-time-picker": "~3.6.1",
"rc-tooltip": "~3.7.3",