4 ms·
The primary situation where I find this behavior useful is on the web where I find Country drop-down lists. I am trying to find United States. It could be "Unit
by hornban 2y ago
The primary situation where I find this behavior useful is on the web where I find Country drop-down lists. I am trying to find United States. It could be "United States", "USA", "U.S.A.", "United States of America", etc. All you have to do is keep pressing "U" until you find the match you want. It really helps when the desired match could be formatted several different ways.
That assumes, of course, that the website isn't using some ridiculous drop-down component that doesn't support keyboard interaction or tab handling. Sadly, that's about 50/50 these days.
- Macha 2y agoOnly if it's a shared beginning. It's a little less useful when you're searching for Ireland, Republic of Ireland, or occasionally Éire.
- red_admiral 2y agoOr if I'm not sure whether the box uses England, United Kingdom, UK, Great Britain, GB, United Kingdom of Great Britain and Northern Ireland (yes I've seen this spelled out once). Sigh.
- sph 2y agoYou forgot "Britain". So it's unclear whether we should look for words starting with B, E, G or U. And there's also the case of dropdowns putting some most frequent countries at the top, so you spend ages scrolling to find the correct spelling, when listed above "Afghanistan". Also fun when you're given flag emojis to choose from, sorted by country name, and you don't know which of UK/GB/EN they have used to sort with, and whether you should look for St. George's cross or the Union Jack.
- eddd-ddde 2y agoI have always used select dropdowns as a regular text input. I just type the thing I want until it appears on my cursor and I press enter. Never imagined repeated presses would toggle results.
- 01HNNWZ0MV43FF 2y agoThese are frustrating. I understand that it's too exceptionalist / nationalist to give the USA a special slot at the top, but ... If I'm on an English page registering for something run by an American company, there's really good odds that I'm in the USA. Could we just do the top 3 by population, before switching to alphabetic? I'm willing to hit Down twice to get past India and China.
- esafak 2y agoUse the IP address to guess and preselect the country, and let the user correct it. No need to privilege any country.
- rightbyte 2y agoThere is the accept-language key that the user can send in the header. The correlation of those and country of location should be quite good. I think using geo IP is borderline spyware behaviour. Becouse the databases are derived from some sort of spyware, right? Or are ip ranges public on country level? The city location has to be spyware derived?
- ale42 2y agoCountry from IP is usually based on public whois information about the IP range. No spyware involved. For city-level it gets more complicated. Every provider of IP geo-localization has its own way of doing it. I guess google uses aggregated information from web searches to figure out the city/region for a given IP range... and sometimes it blatantly fails, because ISPs might allocate IPs in unexpected ways for their algorithms, or move them around to different cities/regions. I'm often getting geolocalized (by IP) to a totally different part of the country. I've seen similar behaviours in other countries and with other ISPs, so it's not something that can fail relatively easily. Then there might be another source of information, which is more spyware-like. Android devices (via the Google play services, I think) participate in constructing a database of cell tower IDs and WiFi access point MAC addresses along with their GPS-derived estimated geographic position (see more: https://console.cloud.google.com/apis/library/geolocation.googleapis.com https://console.cloud.google.com/apis/library/geolocation.go...). Apple has a similar service, too. Theoretically the could use the submitted information to geolocalize the source IP range, but I'm unsure whether they actually do it.
- adamrezich 2y agoSouth Dakotans (as opposed to South Carolinians) appreciate this because in a state dropdown you can just press S twice, instead of `south d`).
- eviks 2y agoOr you could just press "SD" instead of "SC" and appreciate how is more intuitive
- adamrezich 2y agoThis only works if the "State" field in question uses state abbreviations. Frequently, such fields use the full name for each state. Therefore, `SS` gets you to South Dakota every time.
- eviks 2y agoIt also works with full names when search field supports fuzzy search with word matching (or abbreviation matching with a higher priority). SS only works when the field is using the mechanism described in the blog, therefore it doesn't work every time
- RcouF1uZ4gsC 2y ago> The primary situation where I find this behavior useful is on the web where I find Country drop-down lists. I am trying to find United States. Pet peeve: when the website obviously has 99% of users who will pick "United States" for country, but they use an alphabetical list of all the countries in the world.
- mikestew 2y ago“We don’t even ship to Alaska because of the lithium batteries in our product, but we’ll still make you scroll past ‘Uganda’ to enter the single country we ship to.” Not exactly those words, but I’ve seen it.