Slotted QSelect does not start on selected option #15788
Labels
area/components
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-vite
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
I have a long list of options in a slotted QSelect element.
One of those options has been pre-selected, but when then list opens it shows the very top of the options list, not the selected option.
If the list is closed and reopened it will then correctly show the selected option.
I could only get this bug to show when the QSelect was a slot of QInput. The bug does not happen when using QSelect on it's own.
Also this might be an old bug that as resurfaced because I found this very similar issue that was closed as resolved: #4394
What did you expect to happen?
The list should open scrolled to the currently selected option.
Reproduction URL
https://stackblitz.com/edit/quasarframework-yqsvxg?file=src/pages/IndexPage.vue
How to reproduce?
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar)
Platforms/Browsers
Chrome
Quasar info output
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: