Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8727] Android: Click events aren't produced for ScrollView

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2012-05-04T08:22:55.000+0000
Affected Version/sRelease 2.0.1
Fix Version/sn/a
ComponentsAndroid
Labelsapi, qe-and040912
ReporterSitara Shylaja
AssigneePing Wang
Created2012-04-13T15:59:33.000+0000
Updated2017-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

Comments

  1. Lee Morris 2017-03-24

    Closing ticket as invalid with reference to the above comments.

JSON Source