Browse Source

BI-129653 fix : 下拉选项bubble提示多个互相遮挡

research/test
chenzeyu 1 year ago
parent
commit
e1e27267ef
  1. 1
      packages/fineui/src/base/single/button/button.basic.js
  2. 1
      packages/fineui/src/case/combo/bubblecombo/combo.bubble.js

1
packages/fineui/src/base/single/button/button.basic.js

@ -193,6 +193,7 @@ export class BasicButton extends Single {
trigger: "",
// bubble的提示不需要一直存在在界面上
destroyWhenHide: true,
hideWhenAnotherComboOpen: true,
ref: _ref => {
this.combo = _ref;
},

1
packages/fineui/src/case/combo/bubblecombo/combo.bubble.js

@ -27,6 +27,7 @@ export class BubbleCombo extends Widget {
destroyWhenHide: false,
hideWhenClickOutside: true,
hideWhenBlur: true,
hideWhenAnotherComboOpen: false,
isNeedAdjustHeight: true, // 是否需要高度调整
isNeedAdjustWidth: true,
stopPropagation: false,

Loading…
Cancel
Save