←back to thread

497 points tosh | 1 comments | | HN request time: 0s | 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 #
facile3232 ◴[] No.43539120[source]
If anything chrome is the engine with odd quirks you are forced to work around.
replies(2): >>43539943 #>>43541669 #
recursive ◴[] No.43539943[source]
I haven't found this to be the case in my experience.
replies(1): >>43539953 #
facile3232 ◴[] No.43539953[source]
Maybe it's just iframes that are the issue but they were a devil and a half to get working in chrome (or blink ig) without relying on third party cookies.
replies(1): >>43540804 #
1. progmetaldev ◴[] No.43540804[source]
Interested in what you are doing with the iframes. Something with complex authentication? I've been forced to use iframes a few times for 3rd party resources that should have been first-party (mostly with banks and credit unions), and have only had some styling issues on mobile (which have been overcome by using JavaScript and window.matchMedia to check for media queries).