Browse Source

search_text_value_combo的popup不出滚动条&不收起

es6
windy 7 years ago
parent
commit
1af6f9bda9
  1. 7
      dist/base.css
  2. 7
      dist/bundle.css
  3. 12
      dist/bundle.js
  4. 12
      dist/case.js
  5. 7
      dist/fineui.css
  6. 12
      dist/fineui.js
  7. 12
      src/case/combo/searchtextvaluecombo/combo.searchtextvalue.js
  8. 4
      src/css/base/combo/combo.css
  9. 3
      src/css/base/combo/combo.searchtextvalue.css
  10. 7
      src/less/base/combo/combo.searchtextvalue.less

7
dist/base.css vendored

@ -146,6 +146,13 @@
display: block !important; display: block !important;
visibility: visible !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 { .bi-bubble-popup-view {
} }

7
dist/bundle.css vendored

@ -2193,6 +2193,13 @@ textarea {
display: block !important; display: block !important;
visibility: visible !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 { .bi-bubble-popup-view {
} }

12
dist/bundle.js vendored

@ -68303,14 +68303,17 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
} }
}] }]
}, },
maxHeight: 300 maxHeight: 302
}, },
listeners: [{ listeners: [{
eventName: BI.Combo.EVENT_AFTER_HIDEVIEW, eventName: BI.Combo.EVENT_AFTER_HIDEVIEW,
action: function(){ action: function(){
self.trigger.stopEditing(); self.trigger.stopEditing();
} }
}] }],
hideChecker: function (e) {
return self.triggerBtn.element.find(e.target).length === 0;
}
}, },
left: 0, left: 0,
right: 0, right: 0,
@ -68319,7 +68322,12 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
}, { }, {
el: { el: {
type: "bi.trigger_icon_button", type: "bi.trigger_icon_button",
cls: "trigger-icon-button",
ref: function () {
self.triggerBtn = this;
},
width: o.height, width: o.height,
height: o.height,
handler: function () { handler: function () {
if (self.combo.isViewVisible()) { if (self.combo.isViewVisible()) {
self.combo.hideView(); self.combo.hideView();

12
dist/case.js vendored

@ -5671,14 +5671,17 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
} }
}] }]
}, },
maxHeight: 300 maxHeight: 302
}, },
listeners: [{ listeners: [{
eventName: BI.Combo.EVENT_AFTER_HIDEVIEW, eventName: BI.Combo.EVENT_AFTER_HIDEVIEW,
action: function(){ action: function(){
self.trigger.stopEditing(); self.trigger.stopEditing();
} }
}] }],
hideChecker: function (e) {
return self.triggerBtn.element.find(e.target).length === 0;
}
}, },
left: 0, left: 0,
right: 0, right: 0,
@ -5687,7 +5690,12 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
}, { }, {
el: { el: {
type: "bi.trigger_icon_button", type: "bi.trigger_icon_button",
cls: "trigger-icon-button",
ref: function () {
self.triggerBtn = this;
},
width: o.height, width: o.height,
height: o.height,
handler: function () { handler: function () {
if (self.combo.isViewVisible()) { if (self.combo.isViewVisible()) {
self.combo.hideView(); self.combo.hideView();

7
dist/fineui.css vendored

@ -2193,6 +2193,13 @@ textarea {
display: block !important; display: block !important;
visibility: visible !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 { .bi-bubble-popup-view {
} }

12
dist/fineui.js vendored

@ -70067,14 +70067,17 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
} }
}] }]
}, },
maxHeight: 300 maxHeight: 302
}, },
listeners: [{ listeners: [{
eventName: BI.Combo.EVENT_AFTER_HIDEVIEW, eventName: BI.Combo.EVENT_AFTER_HIDEVIEW,
action: function(){ action: function(){
self.trigger.stopEditing(); self.trigger.stopEditing();
} }
}] }],
hideChecker: function (e) {
return self.triggerBtn.element.find(e.target).length === 0;
}
}, },
left: 0, left: 0,
right: 0, right: 0,
@ -70083,7 +70086,12 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
}, { }, {
el: { el: {
type: "bi.trigger_icon_button", type: "bi.trigger_icon_button",
cls: "trigger-icon-button",
ref: function () {
self.triggerBtn = this;
},
width: o.height, width: o.height,
height: o.height,
handler: function () { handler: function () {
if (self.combo.isViewVisible()) { if (self.combo.isViewVisible()) {
self.combo.hideView(); self.combo.hideView();

12
src/case/combo/searchtextvaluecombo/combo.searchtextvalue.js

@ -59,14 +59,17 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
} }
}] }]
}, },
maxHeight: 300 maxHeight: 302
}, },
listeners: [{ listeners: [{
eventName: BI.Combo.EVENT_AFTER_HIDEVIEW, eventName: BI.Combo.EVENT_AFTER_HIDEVIEW,
action: function(){ action: function(){
self.trigger.stopEditing(); self.trigger.stopEditing();
} }
}] }],
hideChecker: function (e) {
return self.triggerBtn.element.find(e.target).length === 0;
}
}, },
left: 0, left: 0,
right: 0, right: 0,
@ -75,7 +78,12 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
}, { }, {
el: { el: {
type: "bi.trigger_icon_button", type: "bi.trigger_icon_button",
cls: "trigger-icon-button",
ref: function () {
self.triggerBtn = this;
},
width: o.height, width: o.height,
height: o.height,
handler: function () { handler: function () {
if (self.combo.isViewVisible()) { if (self.combo.isViewVisible()) {
self.combo.hideView(); self.combo.hideView();

4
src/css/base/combo/combo.css

@ -38,3 +38,7 @@
display: block !important; display: block !important;
visibility: visible !important; visibility: visible !important;
} }
.bi-search-text-value-combo .trigger-icon-button {
font-size: 16px;
}

3
src/css/base/combo/combo.searchtextvalue.css

@ -0,0 +1,3 @@
.bi-search-text-value-combo .trigger-icon-button {
font-size: 16px;
}

7
src/less/base/combo/combo.searchtextvalue.less

@ -0,0 +1,7 @@
@import "../../index";
.bi-search-text-value-combo{
& .trigger-icon-button{
font-size: 16px;
}
}
Loading…
Cancel
Save