Browse Source

Pull request #3263: KERNEL-11877 feat: 升级popperjs 解决scale问题

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit 'fc107a8bf4e081db80c2bf8e6f54d2cf7d5a0acb':
  KERNEL-11877 fix: 关掉BI.BubblesController的
  KERNEL-11877 feat: 升级popperjs 解决scale问题
research/test
Dailer-刘荣歆 2 years ago
parent
commit
f28e607ba4
  1. 17
      src/core/controller/controller.bubbles.js
  2. 3474
      src/core/controller/popper.js

17
src/core/controller/controller.bubbles.js

@ -45,9 +45,11 @@ BI.BubblesController = BI.inherit(BI.Controller, {
BI.createWidget({
type: "bi.default",
element: container,
items: [{
el: bubble
}]
items: [
{
el: bubble
}
]
});
if (this.storePoppers[name]) {
this.storePoppers[name].destroy();
@ -65,7 +67,14 @@ BI.BubblesController = BI.inherit(BI.Controller, {
options: {
offset: [adjustXOffset, adjustYOffset]
}
}
},
{
name: "preventOverflow",
enabled: false
}, {
name: "flip",
enabled: false
},
]
});
return this;

3474
src/core/controller/popper.js

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save