PolymerElements / paper-dropdown-menu

A Material Design browser select element
https://www.webcomponents.org/element/PolymerElements/paper-dropdown-menu
61 stars 107 forks source link

Keyboard input appears to no longer be working #187

Closed tjsavage closed 7 years ago

tjsavage commented 7 years ago

Description

Keyboard input appears to no longer work.

Expected outcome

To be able to tab to a paper-dropdown-menu and then use arrow keys and enter to navigate and select.

Actual outcome

Using arrow keys appears not to work.

Live Demo

http://polymerlabs.github.io/element-demos-viewer/#/paper-dropdown-menu

Steps to reproduce

  1. Tab to a dropdown menu
  2. Press to open it up
  3. Try to use arrow keys to change the selection

Expected: that you can change the selection Actual: Can't change selection

Browsers Affected

valdrinkoshi commented 7 years ago

This is caused by iron-dropdown-scroll-manager which calls event.preventDefault() in order to avoid scroll events (regression introduced by https://github.com/PolymerElements/iron-dropdown/pull/93).