#6420 fix: Select: autoFilterFocus stuck when switching between Selects

closes #6420
pull/6510/head
uros 2024-10-01 23:27:37 +02:00
parent 94fc8c6da8
commit a1fecdb9df
1 changed files with 4 additions and 1 deletions

View File

@ -689,7 +689,9 @@ export default {
this.alignOverlay();
this.scrollInView();
setTimeout(() => {
this.autoFilterFocus && focus(this.$refs.filterInput.$el);
}, 1);
},
onOverlayAfterEnter() {
this.bindOutsideClickListener();
@ -705,6 +707,7 @@ export default {
this.autoFilterFocus && focus(this.$refs.focusInput);
this.$emit('hide');
this.overlay = null;
},
onOverlayAfterLeave(el) {