Selectmenu: Js-Error when using up/down/left/right keys on an empty select

Selectmenu: Js-Error when using up/down/left/right keys on an empty select

Hello,

i am trying to work with the selectmenu of jquery ui 1.11.2 but if there is an empty select and i try to use the arrow keys on my keyboard when the selectmenu is on focus i get a js error from the move function (selectedIndex = -1).

Here is the jsfiddle (the images are missing):


Click the selectmenu in the result frame and then use one of the arrow keys on your keyboard.

Am i doing something wrong or is it a bug?