gfranko / jquery.selectBoxIt.js

A jQuery Select Box Plugin for Mobile, Tablet, and Desktop
http://www.selectboxit.com
MIT License
852 stars 301 forks source link

Long options disappear on responsive page resize #306

Open bennybee opened 9 years ago

bennybee commented 9 years ago

Please see this JS Fiddle:

http://jsfiddle.net/ctgss420/2/

Make window wide and run, then make window small and select the long option from the list - selectbox becomes empty

If you run again at the small window size and select the long option it appears as expected with ellipsis.

Looks like the plugin only calculates the width once on page load rather than on each page resize.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7586676-long-options-disappear-on-responsive-page-resize?utm_campaign=plugin&utm_content=tracker%2F23157&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F23157&utm_medium=issues&utm_source=github).
bennybee commented 9 years ago

Realised that was an old version (3.6) - is worse in the latest build, long options don't show at all when selected, even when reloading the page