mirror of https://github.com/ElemeFE/element
Select: remove scrollToOption after selection (#10115)
parent
22463fb404
commit
c6e85dbd81
|
@ -644,6 +644,7 @@
|
|||
this.visible = false;
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
if (this.visible) return;
|
||||
this.scrollToOption(option);
|
||||
this.setSoftFocus();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue