Yes but you want the key event to continue propagating if there is no $dropdownItem otherwise things stop working.