Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropdown menu errors out when navigating with keyboard #958

Closed
cheng-tan opened this issue Nov 29, 2016 · 2 comments
Closed

Dropdown menu errors out when navigating with keyboard #958

cheng-tan opened this issue Nov 29, 2016 · 2 comments

Comments

@cheng-tan
Copy link

cheng-tan commented Nov 29, 2016

Steps

  1. Use the dropdown with Dropdown.Menu and Dropdown.Item. For example: http://react.semantic-ui.com/modules/dropdown#search-in-menu

  2. Click on the Search In-Menu dropdown to open it.

  3. Press down arrow on the keyboard, then it errors out.
    The error message in the console is: app.61ca82f….js:6621 Uncaught TypeError: Cannot read property 'length' of undefined

Expected Result

User should be able to navigate through the dropdown using up and down arrow.

Actual Result

It throws errors if the dropdown is created with Dropdown.Menu and Dropdown.Item

Version

0.61.7

@levithomason
Copy link
Member

Per the info message on the example:

The example below shows the desired markup but is not functional. Needs to be defined via shorthand, which is not yet possible.
If there's no pull request open for this, you should contribute!

This is not a bug but a missing feature, PRs welcome.

@levithomason
Copy link
Member

Closing as a dupe of #889

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants