PolymerElements / iron-selector

Manages a list of elements that can be selected
32 stars 55 forks source link

`selectNext` and `selectPrevious` have no effect when nothing is selected. #124

Closed bicknellr closed 6 years ago

bicknellr commented 8 years ago

See PolymerElements/paper-radio-group#57 for more context. This might need to be moved to IronMenuBehavior if it seems more appropriate there.

Expected: Calling selectNext with an empty selection should select the first item. Calling selectPrevious with an empty selection should select the last item.

Actual: Calling selectNext with an empty selection does nothing. Calling selectPrevious with an empty selection does nothing.

Steps to reproduce:

  1. Go to http://output.jsbin.com/kukoxeb
  2. Click the 'previous' or 'next' button - the selection does not change.