         return true
 
   opened: =>
+    currentIndex = -1
     @addArrowKeyEvent()
 
     if @options.setIndeterminateIds

        PREV_INDEX = currentIndex
        $listItems = $(selector, @dropdown)

        # if @options.filterable
        #   $input.blur()

        if currentKeyCode is 40
          # Move down
          currentIndex += 1 if currentIndex < ($listItems.length - 1)

        return false

      if currentKeyCode is 13 and currentIndex isnt -1
        @selectRowAtIndex e, $('.is-focused', @dropdown).closest('li').index() - 1

  removeArrayKeyEvent: ->
    $('body').off 'keydown'
