While it's always good to have people exploring improvements to UI elements, it would be superior to have those improvements show up as patches to WebKit or Firefox or GNOME or whatever else. Native UI elements need the improvements; that's where UI actually belongs. On mobile in particular, there's a couple of problems with the web-page approach to UI. One, it adds yet more stuff to download that "shouldn't" be nece…
Good points but I think you're preaching to the choir. The bottleneck is the W3C which is probably bogged with all sorts of red tape and politics.
Select2 - A better way to make select boxes (with jQuery)
21–30 of 60 posts
Re: Select2 - A better way to make select boxes (with jQuery)
#22Maybe it's just me, but I tend to dislike loading 50kb (plus the CSS file) scripts into my applications unless the service is built around something that said script adds a ton of value for. I dunno, is 50kb relevant any longer? Still seems like the 50kb to 100kb range matters when adding in js files. At 5kb to 10kb I don't think much about it.
Minified and served compressed it's 8.51k for the JS and CSS together.
As some said, I'd much rather see a push to chromium source than yet another ultra heavy js css component.
Re: Select2 - A better way to make select boxes (with jQuery)
#23Obligatory: what's the difference between Select2 and Chosen? ( http://news.ycombinator.com/item?id=4074501 )
Re: Select2 - A better way to make select boxes (with jQuery)
#24Re: Select2 - A better way to make select boxes (with jQuery)
#25Re: Select2 - A better way to make select boxes (with jQuery)
#26Re: Select2 - A better way to make select boxes (with jQuery)
#27It breaks normal usage. Tab to a normal Select, press 'n' 3 times and you get New Hampshire (the 3rd item starting with 'n'). Tab to Select2 press 'n' 3 times and you get nothing.
Re: Select2 - A better way to make select boxes (with jQuery)
#28Re: Select2 - A better way to make select boxes (with jQuery)
#29Earlier quoted context omitted.
It closes when I click outside of it.
Ah, it does on the computer. On the iPad and iPhone, it does not for some reason.
Re: Select2 - A better way to make select boxes (with jQuery)
#30It breaks normal usage. Tab to a normal Select, press 'n' 3 times and you get New Hampshire (the 3rd item starting with 'n'). Tab to Select2 press 'n' 3 times and you get nothing.
- spacebar on a highlighted item should select it
- the select menu should open on mousedown, not mouseup.
Otherwise, it's a very nice piece of work.