[Q-Select] Dropdown width for long option items #12617
-
|
Is there a way to make the width of the dropdown for long option items be the same as the width of the q-select itself without having to hard code a max-width? The second example in the image is what I'm trying to achieve without having to hard code a value for max-width of the drop down items: Here's the codepen I used to create the screenshot. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
|
No, sorry |
Beta Was this translation helpful? Give feedback.
-
|
You can do something like this. |
Beta Was this translation helpful? Give feedback.
-
|
use https://quasar.dev/vue-components/resize-observer#introduction |
Beta Was this translation helpful? Give feedback.



use https://quasar.dev/vue-components/resize-observer#introduction
https://codepen.io/metalsadman/pen/PoOvqBB?editors=1010