Skip to content

Commit

Permalink
Fixed #6420
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Oct 2, 2024
1 parent 798fedd commit 3e93ac1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/primevue/src/select/Select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -705,9 +705,13 @@ export default {
this.unbindScrollListener();
this.unbindResizeListener();

this.autoFilterFocus && focus(this.$refs.focusInput);
this.$emit('hide');
if (this.autoFilterFocus && this.filter) {
this.$nextTick(() => {
focus(this.$refs.filterInput.$el);
});
}

this.$emit('hide');
this.overlay = null;
},
onOverlayAfterLeave(el) {
Expand Down

0 comments on commit 3e93ac1

Please sign in to comment.