From 6d33d60d2bca98825f274e48bcc3badd1857f742 Mon Sep 17 00:00:00 2001 From: tanjinzhou <415800467@qq.com> Date: Fri, 23 Apr 2021 11:29:24 +0800 Subject: [PATCH] fix: table scrollbar not hidden in windows --- components/vc-table/src/BodyTable.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/vc-table/src/BodyTable.jsx b/components/vc-table/src/BodyTable.jsx index ea5ba86de..620e37b10 100644 --- a/components/vc-table/src/BodyTable.jsx +++ b/components/vc-table/src/BodyTable.jsx @@ -38,7 +38,7 @@ export default { const innerBodyStyle = {}; if (scroll.x || fixed) { - bodyStyle.overflowX = bodyStyle.overflowX || 'scroll'; + bodyStyle.overflowX = bodyStyle.overflowX || 'auto'; // Fix weired webkit render bug // https://github.com/ant-design/ant-design/issues/7783 bodyStyle.WebkitTransform = 'translate3d (0, 0, 0)';