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

Menus can receive an onItemClick or onItemTap prop. #325

Merged
merged 1 commit into from
Feb 11, 2015

Conversation

mmrtnz
Copy link
Contributor

@mmrtnz mmrtnz commented Feb 11, 2015

Created an onItemClick prop for menus so that users can control tap or click events. See #286. Before, assigning onClick and onTouchTap to the same method caused a bug where NestedMenus were unresponsive.They would open then close immediately because the assigned method was being invoked twice.

hai-cea added a commit that referenced this pull request Feb 11, 2015
Menus can receive an onItemClick or onItemTap prop.
@hai-cea hai-cea merged commit 906605b into mui:master Feb 11, 2015
@hai-cea
Copy link
Member

hai-cea commented Feb 11, 2015

Thanks @mmrtnz

@mmrtnz mmrtnz deleted the menu-item-touch-tap branch April 6, 2015 15:00
@zannager zannager added the component: menu This is the name of the generic UI component, not the React module! label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: menu This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants