Browse Source

Merge pull request #211835 in DEC/fineui from master to feature/x

* commit 'f28e607ba49ffee3e08de4b4b065d0228a974e2a':
  KERNEL-11877 fix: 关掉BI.BubblesController的
  KERNEL-11877 feat: 升级popperjs 解决scale问题
research/test
superman 2 years ago
parent
commit
dc5e3ddb6f
  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