harvesthq/chosen — Issue #406: Dropdown width should be separate from control width
Author: JonoB
Created: 2011-12-16 22:25:10+00:00
State: open

With normal html select elements, you can specify the width of the select in css very easy: select {width: 220px;}

Even if you do this, then the width of the drop down in html will take into account the longest item in the list. This means that the dropdown width can be wider than the width of the select element.

This is not possible in Chosen, and the result is that some items in the dropdown wrap onto 2 lines. The is because the dropdown in chosen is always the same width at the select.

The expected behaviour is that the dropdown for chosen accommodates the largest item in the list, irrespective of the width of the select element.