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-8797] set the scrollview as the parent to the child views #5364

Merged
merged 2 commits into from Feb 28, 2014

Conversation

salachi
Copy link
Contributor

@salachi salachi commented Feb 21, 2014

Added to code to set the scrollview as the parent to the child views so that the events are bubbled up properly.

https://jira.appcelerator.org/browse/TIMOB-8797

@@ -326,6 +325,7 @@ public void addView(TiViewProxy proxy)
{
if (!mViews.contains(proxy)) {
proxy.setActivity(this.proxy.getActivity());
proxy.setParent(this.getProxy());
Copy link
Contributor

Choose a reason for hiding this comment

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

you can do this.proxy instead

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will change

@hieupham007
Copy link
Contributor

Code reviewed and functionally tested. Looks good, just a minor comment.

hieupham007 added a commit that referenced this pull request Feb 28, 2014
[TIMOB-8797] set the scrollview as the parent to the child views
@hieupham007 hieupham007 merged commit 8c619f3 into tidev:master Feb 28, 2014
farfromrefug pushed a commit to Akylas/titanium_mobile that referenced this pull request Aug 15, 2014
[TIMOB-8797] set the scrollview as the parent to the child views
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