From fc107a8bf4e081db80c2bf8e6f54d2cf7d5a0acb Mon Sep 17 00:00:00 2001 From: zsmj Date: Wed, 14 Dec 2022 09:42:50 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-11877=20fix:=20=E5=85=B3=E6=8E=89BI.Bubb?= =?UTF-8?q?lesController=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/controller/controller.bubbles.js | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/core/controller/controller.bubbles.js b/src/core/controller/controller.bubbles.js index fa5cefb5f..6c679b1e9 100644 --- a/src/core/controller/controller.bubbles.js +++ b/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;