harvesthq/chosen — Issue #306: Search box not full width
Author: nevf
Created: 2011-10-21 04:36:38+00:00
State: open

I've just resolved an issue where the Search element was not the full width of the drop-down div. If you check in the Chrome Debugger you will see this element has it's width set too narrow, however this width is ignored in the demo apps and the search box is displayed the correct width. However this wasn't the case in a test app of mine. After much head scratching I discovered that adding to the HTML file resolved the issue.

It seems to me that the search input element width calculation is incorrect. It is 35px narrower than the drop down div, when it should only be 8px narrower. I don't understand why resolves this by ignoring the width, but it does.

I hope this helps someone else at some point.

Neville, http://www.surfulater.com