feat(表格添加纵向滚动条时,scroll设置修改):

This commit is contained in:
wanghaoo 2018-11-06 16:37:45 +08:00
parent 12b37e145d
commit ea3e0ad872
2 changed files with 3 additions and 3 deletions

View File

@ -732,11 +732,11 @@ var Table = function (_Component) {
if (fixed) {
// bodyStyle.height = bodyStyle.height || scroll.y;
innerBodyStyle.maxHeight = bodyStyle.maxHeight || scroll.y;
innerBodyStyle.overflowY = bodyStyle.overflowY || 'auto';
innerBodyStyle.overflowY = bodyStyle.overflowY || 'scroll';
} else {
bodyStyle.maxHeight = bodyStyle.maxHeight || scroll.y;
}
bodyStyle.overflowY = bodyStyle.overflowY || 'auto';
bodyStyle.overflowY = bodyStyle.overflowY || 'scroll';
useFixedHeader = true;
// Add negative margin bottom for scroll bar overflow bug

View File

@ -1,6 +1,6 @@
{
"name": "bee-table",
"version": "1.4.33",
"version": "1.4.34",
"description": "Table ui component for react",
"keywords": [
"react",