Browse Source

Pull request #1564: DEC-15275 fix: 平台菜单栏竟然不是移出不消失的,反人类

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '2add8a4ed741e745f727542a5863536f4f51ec69':
  DEC-15275 fix: 平台菜单栏竟然不是移出不消失的,反人类
es6
parent
commit
49279ac757
  1. 6
      src/base/combination/combo.js

6
src/base/combination/combo.js

@ -181,6 +181,9 @@
}); });
break; break;
case "click-hover": case "click-hover":
case "click-blur":
// IE走click-hover逻辑
if (BI.isIE() || ev === "click-hover") {
var debounce = BI.debounce(function (e) { var debounce = BI.debounce(function (e) {
if (self.combo.element.__isMouseInBounds__(e)) { if (self.combo.element.__isMouseInBounds__(e)) {
if (self.isEnabled() && self.isValid() && self.combo.isEnabled() && self.combo.isValid()) { if (self.isEnabled() && self.isValid() && self.combo.isEnabled() && self.combo.isValid()) {
@ -219,7 +222,8 @@
} }
}); });
break; break;
case "click-blur": }
var debounce = BI.debounce(function (e) { var debounce = BI.debounce(function (e) {
if (self.combo.element.__isMouseInBounds__(e)) { if (self.combo.element.__isMouseInBounds__(e)) {
if (self.isEnabled() && self.isValid() && self.combo.isEnabled() && self.combo.isValid()) { if (self.isEnabled() && self.isValid() && self.combo.isEnabled() && self.combo.isValid()) {

Loading…
Cancel
Save