Sorry but this experience is badly broken in iOS and highlights yet again why native controls are always preferable over custom controls for compatibility. Also, don't forget about enabling accessibility by using ARIA.
Similar on Android; the widget behaves perfectly, which is ironically a poor experience on mobile. Looks like it would be very nice on a desktop though!
Make Better Select Boxes with Chosen
71–80 of 89 posts
Re: Make Better Select Boxes with Chosen
#72There is a newer project named Select2 now which handles remote data sets and offers infinite scrolling: http://ivaynberg.github.com/select2/ (Tried to submit it as a story the other day but zero upvotes.)
Thanks! This is considerably smaller than I expected it to be as well (7KiB minified) which is an acceptable size to chuck into our site.
Re: Make Better Select Boxes with Chosen
#73Re: Make Better Select Boxes with Chosen
#74Overall, I'd recommend it if your needs are simple, but you might be better off rolling your own or using another library if you need anything advanced.
Re: Make Better Select Boxes with Chosen
#75These are sexy. If you are looking for ideas, it would be really cool to see an improved scrolling of some kind. Still feels 1.0 with the ugly blue scrollbar. Something like this but with softer colors: http://i.imgur.com/ixqa6.jpg
Re: Make Better Select Boxes with Chosen
#76Earlier quoted context omitted.
FYI, I had to go finding this the other day - it's tricky as mousing out removes the class. Anyway, it's: .chzn-container .chzn-results .highlighted
Leaving this here in case it helps someone: In Firebug, you can ask the :hover state to stay active. 1. HTML tab 2. Click on the element 3. Style menu on the right panel 4. choose :hover It tricks the browser into thinking the mouse is really over the element (i.e., it doesn't just add :hover), so if you have a hover class added via JS that should work too. (Apparently this feature has been there for a long time, but…
Re: Make Better Select Boxes with Chosen
#77There is a newer project named Select2 now which handles remote data sets and offers infinite scrolling: http://ivaynberg.github.com/select2/ (Tried to submit it as a story the other day but zero upvotes.)
Re: Make Better Select Boxes with Chosen
#78These are sexy. If you are looking for ideas, it would be really cool to see an improved scrolling of some kind. Still feels 1.0 with the ugly blue scrollbar. Something like this but with softer colors: http://i.imgur.com/ixqa6.jpg
What ugly blue scrollbar? Do you mean your OS native scrollbar?
Re: Make Better Select Boxes with Chosen
#79Anybody know of a decent library for numeric up/down spinners?Some browsers do them automatically, but not all.
Re: Make Better Select Boxes with Chosen
#80Earlier quoted context omitted.
Thanks! This is considerably smaller than I expected it to be as well (7KiB minified) which is an acceptable size to chuck into our site.
Where did you get a 7KiB version from? If I download Select2, the select2.min.js file has 22KB