Fixed #7219 - Multiselect unnecessarily scrolling to bottom of options on open
parent
01c488f08e
commit
ff3b7a58a9
|
@ -374,7 +374,7 @@ export default {
|
||||||
|
|
||||||
if (this.overlayVisible) {
|
if (this.overlayVisible) {
|
||||||
this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.findSelectedOptionIndex();
|
this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.findSelectedOptionIndex();
|
||||||
this.scrollInView(this.focusedOptionIndex);
|
!this.autoFilterFocus && this.scrollInView(this.focusedOptionIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$emit('focus', event);
|
this.$emit('focus', event);
|
||||||
|
|
Loading…
Reference in New Issue