Select/MultiSelect: onOverlayLeave should not try and focus on Filter #6564
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
The following line in your code throws an error as filterInput is null:
focus(this.$refs.filterInput.$el);
primevue/packages/primevue/src/select/Select.vue
Line 710 in 22d6f8a
I do not think it should try and focus on the filter during onOverlayLeave as the filterInput is not always there (null)
Reproducer
N/A
PrimeVue version
Latest
Vue version
4.x
Language
ALL
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: