Browse Source

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

Merge in VISUAL/fineui from ~ZOEY.CHEN/fineui:master to master

* commit 'e1e27267ef0a046d9f4b80503ab5c32606eb0e82':
  BI-129653 fix : 下拉选项bubble提示多个互相遮挡
research/test
Zoey.Chen-陈泽语 1 year ago
parent
commit
48a425d9aa
  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: "", trigger: "",
// bubble的提示不需要一直存在在界面上 // bubble的提示不需要一直存在在界面上
destroyWhenHide: true, destroyWhenHide: true,
hideWhenAnotherComboOpen: true,
ref: _ref => { ref: _ref => {
this.combo = _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, destroyWhenHide: false,
hideWhenClickOutside: true, hideWhenClickOutside: true,
hideWhenBlur: true, hideWhenBlur: true,
hideWhenAnotherComboOpen: false,
isNeedAdjustHeight: true, // 是否需要高度调整 isNeedAdjustHeight: true, // 是否需要高度调整
isNeedAdjustWidth: true, isNeedAdjustWidth: true,
stopPropagation: false, stopPropagation: false,

Loading…
Cancel
Save