ui.select() dropdown width unexpected behaviour #3342
Unanswered
inessilva4-lis
asked this question in
Q&A
Replies: 1 comment
-
Hi @inessilva4-lis,
I'm not sure if I understand correctly. Can you give an example?
Quasar's QSelect has a "popup-content-class" prop for styling the popup: ui.select([
'Very long option that should wrap',
'foo',
'bar',
'baz',
]).props('popup-content-class="max-w-[200px]"') |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Hello! I am facing an issue with the dropdown width of ui.select(). The width of the dropdown depends on the size of the options rather than the input field. When the list of options is long and the strings have varying lengths, the width of the dropdown keeps changing. Is there a way to define a maximum width for the dropdown so that the options wrap to two or more lines when they exceed the set width?
Beta Was this translation helpful? Give feedback.
All reactions