mirror of https://github.com/ElemeFE/element
fix: 修复ElSelect,个别位置偶现底部空间不足遮挡bug
parent
fa18776b4b
commit
40b03cac03
|
@ -402,7 +402,10 @@
|
|||
}
|
||||
}
|
||||
} else {
|
||||
this.broadcast('ElSelectDropdown', 'updatePopper');
|
||||
// 延时更新位置,经多轮测试,延时30ms完美解决
|
||||
setTimeout(() => {
|
||||
this.broadcast('ElSelectDropdown', 'updatePopper');
|
||||
}, 30);
|
||||
if (this.filterable) {
|
||||
this.query = this.remote ? '' : this.selectedLabel;
|
||||
this.handleQueryChange(this.query);
|
||||
|
|
Loading…
Reference in New Issue