Browse Source

无JIRA任务 fix: bi.trigger_icon_button 添加overflow-hidden .小三角transform: rotate(0)的过程会闪滚动条

es6
zsmj1994 4 years ago
parent
commit
88f55cbc1b
  1. 4
      src/case/button/icon/icon.trigger.js

4
src/case/button/icon/icon.trigger.js

@ -10,10 +10,10 @@ BI.TriggerIconButton = BI.inherit(BI.IconButton, {
_defaultConfig: function () {
var conf = BI.TriggerIconButton.superclass._defaultConfig.apply(this, arguments);
return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-trigger-icon-button",
baseCls: (conf.baseCls || "") + " bi-trigger-icon-button overflow-hidden",
extraCls: "pull-down-font"
});
}
});
BI.TriggerIconButton.EVENT_CHANGE = BI.IconButton.EVENT_CHANGE;
BI.shortcut("bi.trigger_icon_button", BI.TriggerIconButton);
BI.shortcut("bi.trigger_icon_button", BI.TriggerIconButton);

Loading…
Cancel
Save