[TIMOB-8727] Android: Click events aren't produced for ScrollView
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-05-04T08:22:55.000+0000 |
Affected Version/s | Release 2.0.1 |
Fix Version/s | n/a |
Components | Android |
Labels | api, qe-and040912 |
Reporter | Sitara Shylaja |
Assignee | Ping Wang |
Created | 2012-04-13T15:59:33.000+0000 |
Updated | 2017-03-24T18:12:55.000+0000 |
Description
In ScrollView- alert does not pop up when red view is tapped on.
Steps to Reproduce:
1: Install and run the app
2: tap inside the red view
Actual result: no alert pops up
Expected result: An alert "ScrollView Clicked" should pop up.
var _window = Ti.UI.createWindow();
var scrollView = Ti.UI.createScrollView({
width : 200,
height : 200,
backgroundColor : 'red'
})
scrollView.addEventListener('click', function(){
alert('Scroll view clicked');
});
_window.add(scrollView);
_window.open();
Note: Not a regression, the behavior exists as far back as 1.7.5
Closing ticket as invalid with reference to the above comments.