by redhale · 2y ago · 0 comments
I see the options in the keyboard [0], in the place where autocorrect suggestions appear. But that's the first time I have EVER seen that in a mobile web UI for a page's form control (aside from password auto-fill apps that use that same space).
I don't hate it -- it's actually much nicer than trying to awkwardly scroll a poorly built custom JS drop-down. But I have no confidence that all normal users would figure out how to use it. So I think it's DOA for mobile.
Also, it is flat-out not supported on Firefox Android [1].
Also: https://adrianroselli.com/2023/06/under-engineered-comboboxe...
JavaScript is pretty well standardized, html and CSS is less so.
Here is an example of JavaScript-free CSS motion:
Also, datalists still need JS in some cases like when a default value is set. I have the workarounds and browser quirk notes here in the (to-be-launched) new LibreOffice website code: https://git.libreoffice.org/infra/libreofficeorg/+/835a5cc59...
Good news is that a Firefox dev plans to look into improving datalist behaviour, so only a single click would be enough to display the list.
For me it shows the options above the keyboard where normally word suggestions are shown.