Browse Source

Pull request #1402: 无JIRA任务 combo新增belowMouse

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit 'f5afd0791347594e6e8f67183a04a7b6453d6093':
  update
  update
  无JIRA任务 combo新增belowMouse
master
windy 4 years ago
parent
commit
b28def86bc
  1. 2
      changelog.md
  2. 5
      src/base/combination/combo.js

2
changelog.md

@ -1,5 +1,7 @@
# 更新日志
2.0(2020-07)
- combo新增belowMouse属性,允许popup在点击处弹出
- combo新增hideWhenAnotherComboOpen属性,开启则其他combo下拉时当前combo收起
- 修复了datePicker在setValue的时候没有动态刷新可用月份的问题
- 同步复选下拉及其面板新增getAllValue获取所有已选值
- 同步复选下拉树及其面板新增getAllValue获取完整的选中树节点

5
src/base/combination/combo.js

@ -31,7 +31,8 @@
el: {},
popup: {},
comboClass: "bi-combo-popup",
hoverClass: "bi-combo-hover"
hoverClass: "bi-combo-hover",
belowMouse: false
});
},
@ -349,7 +350,7 @@
}
var isVisible = this.popupView.isVisible();
this.popupView.visible();
var combo = BI.isNotNull(e) ? {
var combo = (o.belowMouse && BI.isNotNull(e)) ? {
element: {
offset: function () {
return {

Loading…
Cancel
Save