PolymerElements / iron-menu-behavior

Accessible menu behavior
18 stars 28 forks source link

Finding menu items: should search for more than first char (should do prefix match, like <select>) #79

Closed danbeam closed 8 years ago

danbeam commented 8 years ago

Description

When I type multi-character input while a <paper-listbox> is focused, chars 2+ should be used to find a more specific match (if typed quickly, <select> in blink waits 1s).

Expected outcome

I expect in a list of:

That if I type "ug" it'll end on "Uganda".

Actual outcome

On "u" -> "Uganda" On "g" (total of "ug") -> "Ghana"

Live Demo

https://jsfiddle.net/zguk0fqw/

Steps to reproduce

Type "ug" while focused in the rendered <paper-listbox>

Browsers Affected

danbeam commented 8 years ago

@hcarmona @tjsavage @bicknellr @notwaldorf