←back to thread

507 points tosh | 3 comments | | HN request time: 0.635s | source
Show context
wolframhempel ◴[] No.43535984[source]
The fact that I'm disproportionally excited about this probably dates me as an early 2000s web developer. But since selects can do things that you simply cannot recreate in HTML, e.g. have options drop downs that extend outside the viewport boundaries, makes this a really helpful feature.

Now, do autocompletes and tag selectors next...

replies(6): >>43536012 #>>43536059 #>>43536090 #>>43537120 #>>43537585 #>>43539203 #
majora2007 ◴[] No.43536012[source]
It's actually crazy that we don't have a basic typeahead component or tag selector in this day and age with HTML. Every web page I've ever built has needed these components and while there are libraries out there, they all have an annoying bug here or there.

But considering we are just now getting Select tags with styling, signals how long it might take for a typeahead which is vastly more complex.

replies(3): >>43536038 #>>43536102 #>>43541305 #
jhardy54 ◴[] No.43536038[source]
> basic typeahead

It isn’t perfect, but have you tried <datalist>?

Totally agree about tag pickers, I was bummed to see that Bootstrap didn’t have a tag selector component either.

replies(1): >>43536363 #
mlhpdx ◴[] No.43536363[source]
I have, and failed.

See https://news.ycombinator.com/item?id=40265782

replies(3): >>43537542 #>>43537676 #>>43538104 #
recursive ◴[] No.43537542[source]
Safari is the "new" IE. I put "new" in quotes because it's been this way for like a decade.
replies(2): >>43539120 #>>43539152 #
1. troupo ◴[] No.43539152[source]
--- start quote ---

Back fifteen years ago IE held back the web because web developers had to cater to its outdated technology stack. “Best viewed with IE” and all that. But do you ever see a “Best viewed with Safari” notice? No, you don’t. Another browser takes that special place in web developers’ hearts and minds.

--- end quote ---

https://www.quirksmode.org/blog/archives/2021/08/breaking_th...

replies(1): >>43539938 #
2. recursive ◴[] No.43539938[source]
Yes, Safari is not exactly like IE because IE had a dominant user share once upon a time.

We don't see "best viewed in Safari", but we do see plenty of sites that can be viewed in Safari, despite the extra effort used to get them there. And I'm not even a regular chrome user.

replies(1): >>43550945 #
3. troupo ◴[] No.43550945[source]
The absolute vast majority of web sites require no effort to "get there".

The absolute vast majority of those which don't work in Safari use Chrome-only non-standards.

And there is a tiny minority of sites that run into some Safari-specific quirks