diff --git a/dist/base.css b/dist/base.css index ccfa3153f..dec346601 100644 --- a/dist/base.css +++ b/dist/base.css @@ -146,6 +146,13 @@ display: block !important; visibility: visible !important; } + +.bi-search-text-value-combo .trigger-icon-button { + font-size: 16px; +} +.bi-search-text-value-combo .trigger-icon-button { + font-size: 16px; +} .bi-bubble-popup-view { } diff --git a/dist/bundle.css b/dist/bundle.css index 0c160c48e..e5a8e42de 100644 --- a/dist/bundle.css +++ b/dist/bundle.css @@ -2193,6 +2193,13 @@ textarea { display: block !important; visibility: visible !important; } + +.bi-search-text-value-combo .trigger-icon-button { + font-size: 16px; +} +.bi-search-text-value-combo .trigger-icon-button { + font-size: 16px; +} .bi-bubble-popup-view { } diff --git a/dist/bundle.js b/dist/bundle.js index 023f7c2dc..54bb33a4f 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -68303,14 +68303,17 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, { } }] }, - maxHeight: 300 + maxHeight: 302 }, listeners: [{ eventName: BI.Combo.EVENT_AFTER_HIDEVIEW, action: function(){ self.trigger.stopEditing(); } - }] + }], + hideChecker: function (e) { + return self.triggerBtn.element.find(e.target).length === 0; + } }, left: 0, right: 0, @@ -68319,7 +68322,12 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, { }, { el: { type: "bi.trigger_icon_button", + cls: "trigger-icon-button", + ref: function () { + self.triggerBtn = this; + }, width: o.height, + height: o.height, handler: function () { if (self.combo.isViewVisible()) { self.combo.hideView(); diff --git a/dist/case.js b/dist/case.js index 9267e7fd0..df8b34f2b 100644 --- a/dist/case.js +++ b/dist/case.js @@ -5671,14 +5671,17 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, { } }] }, - maxHeight: 300 + maxHeight: 302 }, listeners: [{ eventName: BI.Combo.EVENT_AFTER_HIDEVIEW, action: function(){ self.trigger.stopEditing(); } - }] + }], + hideChecker: function (e) { + return self.triggerBtn.element.find(e.target).length === 0; + } }, left: 0, right: 0, @@ -5687,7 +5690,12 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, { }, { el: { type: "bi.trigger_icon_button", + cls: "trigger-icon-button", + ref: function () { + self.triggerBtn = this; + }, width: o.height, + height: o.height, handler: function () { if (self.combo.isViewVisible()) { self.combo.hideView(); diff --git a/dist/fineui.css b/dist/fineui.css index 5828b3867..a55128c0e 100644 --- a/dist/fineui.css +++ b/dist/fineui.css @@ -2193,6 +2193,13 @@ textarea { display: block !important; visibility: visible !important; } + +.bi-search-text-value-combo .trigger-icon-button { + font-size: 16px; +} +.bi-search-text-value-combo .trigger-icon-button { + font-size: 16px; +} .bi-bubble-popup-view { } diff --git a/dist/fineui.js b/dist/fineui.js index bfe756c78..5349f333a 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -70067,14 +70067,17 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, { } }] }, - maxHeight: 300 + maxHeight: 302 }, listeners: [{ eventName: BI.Combo.EVENT_AFTER_HIDEVIEW, action: function(){ self.trigger.stopEditing(); } - }] + }], + hideChecker: function (e) { + return self.triggerBtn.element.find(e.target).length === 0; + } }, left: 0, right: 0, @@ -70083,7 +70086,12 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, { }, { el: { type: "bi.trigger_icon_button", + cls: "trigger-icon-button", + ref: function () { + self.triggerBtn = this; + }, width: o.height, + height: o.height, handler: function () { if (self.combo.isViewVisible()) { self.combo.hideView(); diff --git a/src/case/combo/searchtextvaluecombo/combo.searchtextvalue.js b/src/case/combo/searchtextvaluecombo/combo.searchtextvalue.js index 370adb5f5..1f6e87034 100644 --- a/src/case/combo/searchtextvaluecombo/combo.searchtextvalue.js +++ b/src/case/combo/searchtextvaluecombo/combo.searchtextvalue.js @@ -59,14 +59,17 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, { } }] }, - maxHeight: 300 + maxHeight: 302 }, listeners: [{ eventName: BI.Combo.EVENT_AFTER_HIDEVIEW, action: function(){ self.trigger.stopEditing(); } - }] + }], + hideChecker: function (e) { + return self.triggerBtn.element.find(e.target).length === 0; + } }, left: 0, right: 0, @@ -75,7 +78,12 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, { }, { el: { type: "bi.trigger_icon_button", + cls: "trigger-icon-button", + ref: function () { + self.triggerBtn = this; + }, width: o.height, + height: o.height, handler: function () { if (self.combo.isViewVisible()) { self.combo.hideView(); diff --git a/src/css/base/combo/combo.css b/src/css/base/combo/combo.css index 724c014d7..20b5289b8 100644 --- a/src/css/base/combo/combo.css +++ b/src/css/base/combo/combo.css @@ -38,3 +38,7 @@ display: block !important; visibility: visible !important; } + +.bi-search-text-value-combo .trigger-icon-button { + font-size: 16px; +} diff --git a/src/css/base/combo/combo.searchtextvalue.css b/src/css/base/combo/combo.searchtextvalue.css new file mode 100644 index 000000000..d9aafd4d2 --- /dev/null +++ b/src/css/base/combo/combo.searchtextvalue.css @@ -0,0 +1,3 @@ +.bi-search-text-value-combo .trigger-icon-button { + font-size: 16px; +} diff --git a/src/less/base/combo/combo.searchtextvalue.less b/src/less/base/combo/combo.searchtextvalue.less new file mode 100644 index 000000000..ea3a8835b --- /dev/null +++ b/src/less/base/combo/combo.searchtextvalue.less @@ -0,0 +1,7 @@ +@import "../../index"; + +.bi-search-text-value-combo{ + & .trigger-icon-button{ + font-size: 16px; + } +} \ No newline at end of file