Open mariotragesercofinpro opened 3 months ago
Hey there, I analyzed the issue and worked out a solution: https://github.com/quasarframework/quasar/pull/17326 Besides Quasar's unit tests, I tested the solution in my company's project. Please mind that this is my very first open source pull request and give feedback if you need any additional information.
What happened?
When QSelect is used in a shadow DOM and a callback for the filter event is used for filtering the options, the menu disappears and the component loses focus after clicking a second time into the input field. When clicking a third time into the input, the menu still does not reappear and the component still has no focus.
What did you expect to happen?
The component should work the same way as when used outside a shadow DOM: When clicking a second time into the input, the menu should disappear but the component should still have focus. When clicking a third time into the input, the menu should reappear.
Reproduction URL
https://stackblitz.com/edit/quasarframework-xr93dh
How to reproduce?
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar)
Platforms/Browsers
No response
Quasar info output
Relevant log output
Additional context
No response