Browse Source

Pull request #1: BI-104712 fix: vertical_sticky 降级为vertical_fill的时候要添加 scrolly:true

Merge in ~DAILER/fineui from BI-104712 to master

* commit '635bd2ddd4469f29ee6ec0ccda2f0046e08442e2':
  BI-104712 fix: vertical_sticky 降级为vertical_fill的时候要添加 scrolly:true
es6
Dailer 2 years ago
parent
commit
500fd9ce08
  1. 4
      src/core/platform/web/config.js

4
src/core/platform/web/config.js

@ -210,12 +210,12 @@ BI.prepares.push(function () {
});
BI.Plugin.configWidget("bi.horizontal_sticky", function (ob) {
if (!isSupportSticky) {
return BI.extend({}, ob, {type: "bi.horizontal_fill"});
return BI.extend({ scrollx: true }, ob, {type: "bi.horizontal_fill"});
}
});
BI.Plugin.configWidget("bi.vertical_sticky", function (ob) {
if (!isSupportSticky) {
return BI.extend({}, ob, {type: "bi.vertical_fill"});
return BI.extend({ scrolly: true }, ob, {type: "bi.vertical_fill"});
}
});

Loading…
Cancel
Save