Page MenuHomePhabricator

DropdownWidget type-to-search functionality is not user-friendly for long lists
Closed, DuplicatePublic

Description

Some dropdown lists (e.g. the ApiSandbox module selectors) have lots of items. After clicking on the list and starting to type, the matching item will be selected, but it might happen outside the viewport, which is confusing.

anim.gif (848×1 px, 142 KB)

It would be nicer if either the typing would be displayed in the dropdown field (like it is done for combo boxes) or the dropdown would be scrolled in such a way that the selected item is always within the viewport.

Event Timeline

This is only a problem because ApiSandbox has these weird nested scrollbars :/ Normally, the dropdown list's dimensions would be limited to the viewport, and thus the item scrolled to would be visible.

Anomie added a subscriber: Anomie.

This is only a problem because ApiSandbox has these weird nested scrollbars :/ Normally, the dropdown list's dimensions would be limited to the viewport, and thus the item scrolled to would be visible.

Indeed. Setting an overlay (T129308) seems to fix this bug.