Skip to content

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

Closed
zulfatilyasov wants to merge 1 commit intomui:masterfrom
zulfatilyasov:hotfix/nested-item-click
Closed

When nested menu item Tapped call tap handler instead of click handler#641
zulfatilyasov wants to merge 1 commit intomui:masterfrom
zulfatilyasov:hotfix/nested-item-click

Conversation

@zulfatilyasov
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
Member

hai-cea commented Jun 5, 2015

@pomerantsev Do we still need to do this fix?

@pomerantsev
Copy link
Copy Markdown
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
Copy Markdown
Member

hai-cea commented Jun 7, 2015

Fixed with #771

@hai-cea hai-cea closed this Jun 7, 2015
@zannager zannager added the scope: menu Changes related to the menu. label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: menu Changes related to the menu.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants