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

[TIMOB-8907] Android: click event does not fire correctly when touchStart listener is present on view #2250

Merged
merged 2 commits into from May 26, 2012

Conversation

mstepanov
Copy link
Contributor

TIMOB-8907

Test instructions in JIRA. + Regressions with TIMOB-2844

// is to call performClick() which leads to invoking the click
// listener. If we return true, that won't run, so we're doing it
// here instead.
if (handled && proxy.hasListeners(TiC.EVENT_CLICK)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Considering events propagation, we should use proxy.hierarchyHasListener().

@pingwang2011
Copy link
Contributor

Code reviewed and functionally tested. Accepted

pingwang2011 added a commit that referenced this pull request May 26, 2012
[TIMOB-8907] Android: click event does not fire correctly when touchStart listener is present on view
@pingwang2011 pingwang2011 merged commit d78e979 into tidev:master May 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants