Browse Source

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

es6
Dailer 3 years ago
parent
commit
635bd2ddd4
  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) { BI.Plugin.configWidget("bi.horizontal_sticky", function (ob) {
if (!isSupportSticky) { 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) { BI.Plugin.configWidget("bi.vertical_sticky", function (ob) {
if (!isSupportSticky) { if (!isSupportSticky) {
return BI.extend({}, ob, {type: "bi.vertical_fill"}); return BI.extend({ scrolly: true }, ob, {type: "bi.vertical_fill"});
} }
}); });

Loading…
Cancel
Save