{"id":356,"date":"2019-02-23T08:57:42","date_gmt":"2019-02-23T08:57:42","guid":{"rendered":"http:\/\/www.simon-li.com\/design-and-code\/?p=356"},"modified":"2020-06-30T15:09:54","modified_gmt":"2020-06-30T15:09:54","slug":"get-rid-of-dropdowns","status":"publish","type":"post","link":"http:\/\/www.simon-li.com\/design-and-code\/get-rid-of-dropdowns\/","title":{"rendered":"Get Rid of Dropdowns"},"content":{"rendered":"<p>In a project, we may be tempted to use dropdowns to give the user a bunch of options to choose from. These options could be countries, languages, genres etc in a form or a setting page. After all, that&#8217;s what we are used to seeing in a lot of apps and websites, right?<\/p>\n<p><!--more--><br \/>\nI also tended to fall into this habit of using dropdowns until I recently came across a series of articles on why we should stop using them while researching different design possibilities for a client project. Reading these articles helped me think more carefully about the usability of dropdowns and made me realize that blindly using them is a lazy way of making things work. By replacing them with other components, we will be able to create much better user experience, especially on mobile.<\/p>\n<h3>Drawbacks<\/h3>\n<p>The cons of using a dropdown can be summarized as follows.<\/p>\n<ul>\n<li><strong>Choosing from a dropdown involves multiple steps:<\/strong> a tap, scrolling and a tap, making it much slower to use than some alternatives on a touch screen.<\/li>\n<li><strong>Finding the right option through scrolling can be slow and painful,<\/strong> especially when there are a lot to scroll through.<\/li>\n<li><strong>Dropdown areas could be small and this adds to the pain of browsing different options and locating the right one.<\/strong><\/li>\n<\/ul>\n<p>Because of these drawbacks, in default iOS apps, dropdowns have basically disappeared.<\/p>\n<h3>Alternatives<\/h3>\n<p>To achieve better UX, consider using some of the following components instead.<\/p>\n<ul>\n<li>Use <strong>Steppers<\/strong> to increase\/decrease integers.<\/li>\n<li>Use <strong>Sliders<\/strong> for selecting from a range of numerical values.<\/li>\n<li>Use <strong>Switches<\/strong> for binary choices.<\/li>\n<li>Use <strong>Segmented controls (iOS)<\/strong> or <strong>buttons<\/strong>, which require only one tap, when there are a few options.<\/li>\n<li>In case there are a lot of options, the area for listing all the options, if there is any, should be large enough for easy scanning. An additional <strong>search\/filter\/auto fill<\/strong> feature could be provided to help users get to the right option faster.<\/li>\n<\/ul>\n<figure id=\"attachment_361\" aria-describedby=\"caption-attachment-361\" style=\"width: 2388px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.simon-li.com\/design-and-code\/wp-content\/uploads\/2019\/02\/IMG_0537E250D282-1.jpeg\" alt=\"\" width=\"2388\" height=\"1668\" class=\"size-full wp-image-361\" srcset=\"http:\/\/www.simon-li.com\/design-and-code\/wp-content\/uploads\/2019\/02\/IMG_0537E250D282-1.jpeg 2388w, http:\/\/www.simon-li.com\/design-and-code\/wp-content\/uploads\/2019\/02\/IMG_0537E250D282-1-300x210.jpeg 300w, http:\/\/www.simon-li.com\/design-and-code\/wp-content\/uploads\/2019\/02\/IMG_0537E250D282-1-768x536.jpeg 768w, http:\/\/www.simon-li.com\/design-and-code\/wp-content\/uploads\/2019\/02\/IMG_0537E250D282-1-1024x715.jpeg 1024w\" sizes=\"auto, (max-width: 2388px) 100vw, 2388px\" \/><figcaption id=\"caption-attachment-361\" class=\"wp-caption-text\">The Clock app of iOS on iPad. The area for listing cities is large enough for easier scanning. Additionally, a search box and an index are used to make locating a city faster.<\/figcaption><\/figure>\n<p>And finally, here are some good reads if you&#8217;d like to learn more about dropdown usability.<\/p>\n<ul>\n<li><a href=\"https:\/\/www.lukew.com\/ff\/entry.asp?1950\" rel=\"noopener noreferrer\" target=\"_blank\">Dropdowns Should be the UI of Last Resort<\/a><\/li>\n<li><a href=\"https:\/\/medium.com\/@kollinz\/dropdown-alternatives-for-better-mobile-forms-53e40d641b53\" rel=\"noopener noreferrer\" target=\"_blank\">Dropdown alternatives for better (mobile) forms<\/a><\/li>\n<li><a href=\"https:\/\/baymard.com\/blog\/drop-down-usability\" rel=\"noopener noreferrer\" target=\"_blank\">Drop-Down Usability: When You Should (and Shouldn\u2019t) Use Them<\/a><\/li>\n<li><a href=\"https:\/\/baymard.com\/blog\/mobile-dropdown-navigation\" rel=\"noopener noreferrer\" target=\"_blank\">Mobile: Never Use Native Drop-Downs for Navigation<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In a project, we may be tempted to use dropdowns to give the user a bunch of options to choose from. These options could be countries, languages, genres etc in a form or a setting page. After all, that&#8217;s what we are used to seeing in a lot of apps&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[86],"tags":[15,56,46],"class_list":["post-356","post","type-post","status-publish","format-standard","hentry","category-interaction-design","tag-design","tag-usability","tag-ux"],"_links":{"self":[{"href":"http:\/\/www.simon-li.com\/design-and-code\/wp-json\/wp\/v2\/posts\/356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.simon-li.com\/design-and-code\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.simon-li.com\/design-and-code\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.simon-li.com\/design-and-code\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.simon-li.com\/design-and-code\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":8,"href":"http:\/\/www.simon-li.com\/design-and-code\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"predecessor-version":[{"id":408,"href":"http:\/\/www.simon-li.com\/design-and-code\/wp-json\/wp\/v2\/posts\/356\/revisions\/408"}],"wp:attachment":[{"href":"http:\/\/www.simon-li.com\/design-and-code\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.simon-li.com\/design-and-code\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.simon-li.com\/design-and-code\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}