primefaces / primevue

Next Generation Vue UI Component Library
https://primevue.org
MIT License
10.64k stars 1.24k forks source link

Select: Cannot read properties of null (reading '$el') - filter and auto-filter-focus error #6793

Closed Tamas-hi closed 7 hours ago

Tamas-hi commented 5 days ago

Describe the bug

Following up on #6539 , this problem is still occurs when you click out of the open dropdown. Previous fix was not sufficient.

Reproducer

https://stackblitz.com/edit/lhc6ls?file=src%2FApp.vue

PrimeVue version

4.2.2

Vue version

4.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

Brave

Steps to reproduce the behavior

  1. Open the reproducer link.
  2. Open console
  3. Click on the dropdown and then click out of it.
  4. See the error

Expected behavior

No error message

sivareddyuppathi commented 4 days ago

Fix for the above issue.

PR: https://github.com/primefaces/primevue/pull/6787