diff --git a/src/base/combination/combo.js b/src/base/combination/combo.js index 76a3801ec..fcb2690f3 100644 --- a/src/base/combination/combo.js +++ b/src/base/combination/combo.js @@ -296,14 +296,14 @@ this.popupView && this.popupView.destroy(); this.popupView = null; this._rendered = false; + + if (!e || !this.combo.element.__isMouseInBounds__(e)) { + this.element.removeClass(this.options.hoverClass); + } } else { this.popupView && this.popupView.invisible(); } - if (!e || !this.combo.element.__isMouseInBounds__(e)) { - this.element.removeClass(this.options.hoverClass); - } - this.element.removeClass(this.options.comboClass); delete needHideWhenAnotherComboOpen[this.getName()];