summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorawhildy <allison@gitlab.com>2016-11-25 20:19:29 -0800
committerawhildy <allison@gitlab.com>2016-11-25 20:30:13 -0800
commita1f53e92caa8a95889c3fee683f8d0b2590228ac (patch)
treeb0ad8004d6e551e433dbe4b4dff6ad9b0c625479
parent12e856a751a1e8598a7a17998e973874c3391bd1 (diff)
downloadgitlab-ce-ux-guide-dropdown-max-height.tar.gz
[ci skip] UX Guide: add guidance for max height for dropdownsux-guide-dropdown-max-height
Fix spelling
-rw-r--r--doc/development/ux_guide/components.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/development/ux_guide/components.md b/doc/development/ux_guide/components.md
index 764c3355714..57e5d03d608 100644
--- a/doc/development/ux_guide/components.md
+++ b/doc/development/ux_guide/components.md
@@ -91,7 +91,9 @@ TODO: Will update this section when the new filters UI is implemented.
![Dropdown states](img/components-dropdown.png)
+### Max size
+The max height for dropdowns should target **10-15 items**. If the height of the dropdown is too large, the list becomes very hard to parse and it is easy to visually lose track of the item you are looking for. Usability also suffers as more mouse movement is required, and you have a larger area in which you hijack the scroll away from the page level. While it may initially seem counterintuitive to not show as many items as you can, it is actually quicker and easier to process the information when it is cropped at a reasonable height.
---