claviska/jquery-selectBox — Issue #51: autoWidth on the "select" needed
Author: Nettsentrisk
Created: 2012-01-06 14:40:51+00:00
State: open

The autoWidth functionality currently only works on the options and not the virtual select element. An easy fix that implements true autoWidth, add the following to the chain starting on line 42 ("Inherit class names, style, and title attributes"):

.width(select.innerWidth())

Now it acts as you'd expect, so you do not need to set any CSS for the width of anything.