Skip to main content

Search and Top Navigation

#15140 open bug ()

Opened February 28, 2017 11:29PM UTC

Last modified March 03, 2017 08:01PM UTC

Selectmenu: Incorrect navigation when typing while menu is open

Reported by: ViktorStiskala Owned by:
Priority: minor Milestone: none
Component: ui.selectmenu Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:

When typing repeating characters, the wrong item is selected from the menu. You can compare the results when typing "55" using this example:

In the native input, the expected "55" option is selected, but in the jQuery UI menu the "5.7" option is selected instead.

The reason behind this behaviour is in these lines of code (, but because I don't know the original intent of this functionality I don't dare to just delete them.

Attachments (0)
Change History (1)

Changed March 03, 2017 08:01PM UTC by scottgonzalez comment:1

component: ui.menuui.selectmenu
status: newopen
summary: Wrong option gets selected when typing repeating charactersSelectmenu: Incorrect navigation when typing while menu is open

The behavior we've implemented matches the behavior of the native select when the menu is closed. This will be interesting to deal with since the concept of being open or closed comes from selectmenu, but the keyboard navigation comes from menu.