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

When nested menu item Tapped call tap handler instead of click handler #641

Closed

Conversation

zulfatilyasov
Copy link

Currently when nested menu item clicked, click handler is called twice. The reason is that when item is clicked both tap event and click event are fired but these events have the same hander _onNestedItemClick. Tap event should have _onNestedItemTap handler.

@pomerantsev
Copy link
Contributor

@zulfatilyasov Will you please take a look at #581? It also solves the problem of calling the click handler twice, in addition to fixing another bug.

@hai-cea
Copy link
Member

hai-cea commented Jun 5, 2015

@pomerantsev Do we still need to do this fix?

@pomerantsev
Copy link
Contributor

@hai-cea Actually, I think this is part of the broader API inconsistency problem that I mentioned previously (item 3). Let me create a separate issue for that and submit a PR tomorrow.
If that's fixed, there'll be no need for PR #641.

@hai-cea
Copy link
Member

hai-cea commented Jun 7, 2015

Fixed with #771

@hai-cea hai-cea closed this Jun 7, 2015
@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.

4 participants