Commit c6e85dbd authored by 杨奕's avatar 杨奕 Committed by GitHub

Select: remove scrollToOption after selection (#10115)

parent 22463fb4
...@@ -644,6 +644,7 @@ ...@@ -644,6 +644,7 @@
this.visible = false; this.visible = false;
} }
this.$nextTick(() => { this.$nextTick(() => {
if (this.visible) return;
this.scrollToOption(option); this.scrollToOption(option);
this.setSoftFocus(); this.setSoftFocus();
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment