Skip to content

Commit 6d33d60

Browse files
committed
fix: table scrollbar not hidden in windows
1 parent 1fb6521 commit 6d33d60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/vc-table/src/BodyTable.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default {
3838
const innerBodyStyle = {};
3939

4040
if (scroll.x || fixed) {
41-
bodyStyle.overflowX = bodyStyle.overflowX || 'scroll';
41+
bodyStyle.overflowX = bodyStyle.overflowX || 'auto';
4242
// Fix weired webkit render bug
4343
// https://github.com/ant-design/ant-design/issues/7783
4444
bodyStyle.WebkitTransform = 'translate3d (0, 0, 0)';

0 commit comments

Comments
 (0)