Closed colinwren closed 11 years ago
This looks good, but we can reuse currentOffset instead of calling this.getSelectedModel( { by : "offset" } )
multiple times. Also there is an extra space in the declaration of currentOffset
My bad, was looking at the old code! Will merge.
Now If you are on the first list item and press the up arrow key, the selection will remain unchanged. The same is true for pressing the down arrow key on the last list item.