[TIMOB-8797] Android:WebView V8: scrollable view does not log click event
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-02-28T19:15:40.000+0000 |
Affected Version/s | Release 2.0.2, Release 3.1.0 |
Fix Version/s | 2014 Sprint 04, 2014 Sprint 04 API |
Components | Android |
Labels | core |
Reporter | Sitara Shylaja |
Assignee | Sunila |
Created | 2012-04-19T12:41:07.000+0000 |
Updated | 2017-03-16T20:54:24.000+0000 |
Description
In KS BaseUI> Views>Scroll Views >Scrollable View, clicks on the View are not getting logged.
* Not a regression, the behavior exists as far back as 1.8.2 at least*
Steps to reproduce:
1: tap on Scrollable View
2: tap on View 2
3:check the log
Actual Result: no logs are shown
Expected Result :Log should show "ScrollView received click event, source = ' + e.source"
It appears that events are forced into the ScrollableView's view hierarchy. They do not propagate to the parent of the Scrollable, either; the containing Window will not be notified of any touch events.
Issue reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 (03/11/13 15:43 0c88429) Titanium SDK version: 3.0.2 (02/07/13 16:46 a4def81) Device: Samsung galaxy s duos Android version: 4.0.4 jithinpv
Added to code to set the scrollview as the parent to the child views so that the events are bubbled up properly. https://github.com/appcelerator/titanium_mobile/pull/5364
Closing ticket as fixed.