I stumbled upon curiosity.
I have a field select
that allows overflow with an option exceeding the width of the field select
:

When I select option
, part of the text disappears:

It is like width option
. If I increase the width option
, I can select more text. However, even if I set it to 100% (in the field select
), I still canβt select all the text.
free jsfiddle.
Is this something obvious to CSS experts out there?
After a bit more thinking: width: 100%
obviously it won't work. Am I forced to use JavaScript to dynamically determine the width of options to the maximum width?
source
share