QSelect with options-dense, options-cover and #before-options slot : The menu jumps up when displayed first time #17749
Labels
area/components
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/vite-plugin
Bugs related to Vite usage with Quasar
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
I have a QSelect with
options-cover
,options-dense
and a#before-options
slot.When the menu is displayed for the first time it jumps some pixels: It is displayed then it moves, it looks like the position is calculated in 2 times.
Note that after the first display, if the menu is displayed again there is no problem: I is displayed immediatly at the right place. It looks like the position is calculated at the first display and then saved for after.
In the reproduction URL the menu moves up but in my more complicated case the menu also moves left.
If I remove the
#before-options
slot or theoptions-dense
prop there is no problem.What did you expect to happen?
The menu should been displayed at the right place immediatly.
Reproduction URL
https://jsfiddle.net/y3q267rd/10/
How to reproduce?
QSelect
QSelect
to see the menu jumping again!Flavour
Vite Plugin (@quasar/vite-plugin)
Areas
Components (quasar)
Platforms/Browsers
Chrome
Quasar info output
No response
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: