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

[MenuItem] lists of menu items produce double highlighting when using both keyboard and mouse controls #7803

Closed
akalman opened this issue Aug 17, 2017 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@akalman
Copy link

akalman commented Aug 17, 2017

Problem description

When we display a list of MenuItems, hovering the mouse results in whatever the mouse landing on being highlighted. From that state, keyboard controls (assuming the list is receiving them) change what is selected, and therefore the highlighting, but the hover highlight does not go away. Moving the mouse between menu items replaces both highlightings.

Steps to reproduce

create a paper element
create a series of menuitem elements inside the paper element
hover mouse over a menu item
press the down arrow

Versions

  • Material-UI: 1.0.0-beta.4
  • React: 15.6.1
  • Browser: IE11, chrome 60.0.3112.90
@akalman
Copy link
Author

akalman commented Aug 17, 2017

I'm sure this breaks functionality for other use cases, but making this change resolved the issue for us.

@oliviertassinari oliviertassinari added the duplicate This issue or pull request already exists label Aug 17, 2017
@oliviertassinari
Copy link
Member

Duplicate of #5186

@oliviertassinari oliviertassinari marked this as a duplicate of #5186 Aug 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants