官术网_书友最值得收藏!

Chapter #14. Don't Use a Drop-Down Menu If You Only Have a Few Options

A drop-down menu in the user interface is designed to expand when clicked and present a range of options. This is fine for country selection or customization, where there genuinely are lots of options.

There is, however, an overhead to operating a drop-down menu: the user needs to click to open, scroll to the correct item, then click to select. On a mobile device this can be even slower, as the user will be using a smaller screen.

If you only have two or three options, then don't jump to using a drop-down straightaway. Consider the options could be better presented to users with a different kind of control (radio buttons, sliders, and so on).

Sort your options into a sensible order—alphabetical or numeric—rather than random. Don't be the app that asks users to select a floor of a building in alphabetical order: "First, Fourth, Ground, Second, Third." Yes, I've seen this!

Very long drop-downs—for example, country selection—can benefit from a mini search or filter control: begin typing "U" and only see "Ukraine, United Arab Emirates, United Kingdom" and so on. This allows your user to skip to the section they need.

Mobile users actually have a head start here: most mobile operating systems will show a full-width "picker" control for drop-down selection, which is much less fiddly to use on a small touchscreen:

Don't Use a Drop-Down Menu If You Only Have a Few Options

Picking a blood type with a mobile "picker" UI

主站蜘蛛池模板: 新建县| 山阴县| 义马市| 米脂县| 浙江省| 杂多县| 安塞县| 唐海县| 郴州市| 隆尧县| 永兴县| 景洪市| 乐都县| 大荔县| 卢龙县| 永春县| 柏乡县| 鹤岗市| 康马县| 巴林右旗| 西乌| 慈利县| 盐池县| 鄄城县| 卓尼县| 佛山市| 崇左市| 龙川县| 龙门县| 琼海市| 兰考县| 德惠市| 伊宁市| 三穗县| 武陟县| 鹤岗市| 社旗县| 威海市| 密山市| 兴和县| 桃江县|