revert: table scroll #4045

This commit is contained in:
tanjinzhou 2021-05-08 18:24:57 +08:00
parent 04f47e3bb7
commit b7783aeb1d

View File

@ -38,7 +38,7 @@ export default {
const innerBodyStyle = {};
if (scroll.x || fixed) {
bodyStyle.overflowX = bodyStyle.overflowX || 'auto';
bodyStyle.overflowX = bodyStyle.overflowX || 'scroll';
// Fix weired webkit render bug
// https://github.com/ant-design/ant-design/issues/7783
bodyStyle.WebkitTransform = 'translate3d (0, 0, 0)';