Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

fix(dropdown): handle keyboard-nav correctly #4110

Closed
wants to merge 1 commit into from

Conversation

icfantv
Copy link
Contributor

@icfantv icfantv commented Aug 4, 2015

  • fix bug in directive whereby list item selector is not being initiated on
    correct DOM element.
  • fix bug in directive whereby invalid keyCode property of jQuery Event
    object is being referenced instead of which.
  • update functional test to trigger keydown event on correct DOM element
    because otherwise the keydown handler in the directive is not getting
    executed.
  • remove invalid functional test because it is not possible to trigger a
    keydown event on a hidden DOM element through normal UI interaction.

fixes #4091

- fix bug in directive whereby list item selector is not being initiated on
  correct DOM element.
- fix bug in directive whereby invalid `keyCode` property of jQuery Event
  object is being referenced instead of `which`.
- update functional test to trigger keydown event on correct DOM element
  because otherwise the keydown handler in the directive is not getting
  executed.
- remove invalid functional test because it is not possible to trigger a
  keydown event on a hidden DOM element through normal UI interaction.

fixes angular-ui#4091
@wesleycho
Copy link
Contributor

LGTM

@wesleycho wesleycho added this to the 0.13.3 (Fixes) milestone Aug 5, 2015
@icfantv icfantv closed this in 0b37f08 Aug 5, 2015
@icfantv icfantv deleted the dropdown_keynav_4091 branch August 21, 2015 16:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dropdown Key Navigation doesn't work when "dropdownAppendToBody" is enabled
2 participants