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

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

主站蜘蛛池模板: 墨竹工卡县| 昌吉市| 阳城县| 沁源县| 托克托县| 明星| 彩票| 新安县| 佳木斯市| 台湾省| 洛隆县| 阳西县| 辽阳县| 香河县| 逊克县| 马龙县| 东乌珠穆沁旗| 龙泉市| 湟中县| 漯河市| 深圳市| 东源县| 封开县| 镇雄县| 双流县| 华亭县| 丁青县| 江油市| 祥云县| 赤水市| 兰溪市| 广东省| 青岛市| 吉首市| 靖西县| 新乡县| 汤阴县| 漠河县| 靖州| 内丘县| 申扎县|