fix(适配mac下滚动条宽度计算问题):
This commit is contained in:
parent
0071d158ce
commit
6db0ecdd52
|
@ -776,7 +776,7 @@ var Table = function (_Component) {
|
||||||
useFixedHeader = true;
|
useFixedHeader = true;
|
||||||
|
|
||||||
// Add negative margin bottom for scroll bar overflow bug
|
// Add negative margin bottom for scroll bar overflow bug
|
||||||
var scrollbarWidth = this.scrollbarWidth ? this.scrollbarWidth : 15;
|
var scrollbarWidth = this.scrollbarWidth;
|
||||||
if (scrollbarWidth >= 0) {
|
if (scrollbarWidth >= 0) {
|
||||||
(fixed ? bodyStyle : headStyle).paddingBottom = '0px';
|
(fixed ? bodyStyle : headStyle).paddingBottom = '0px';
|
||||||
//显示表头滚动条
|
//显示表头滚动条
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bee-table",
|
"name": "bee-table",
|
||||||
"version": "1.5.18",
|
"version": "1.5.19",
|
||||||
"description": "Table ui component for react",
|
"description": "Table ui component for react",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"react",
|
"react",
|
||||||
|
|
Loading…
Reference in New Issue