Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2489] scrollableView not recieving click/singletap events

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2012-07-26T12:25:13.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterMichael Del Tito
AssigneeNeeraj Gupta
Created2011-04-15T03:21:06.000+0000
Updated2012-07-26T22:02:08.000+0000

Description

Tested in 1.5 nightly from Dec 2

The event shown below is never fired:


// this sets the background color of the master UIView (when there are no windows/tab groups on it) Titanium.UI.setBackgroundColor('#000');

// create tab group var tabGroup = Titanium.UI.createTabGroup();

// // create base UI tab and root window // var win1 = Titanium.UI.createWindow({

{mkd-extraction-b12c806ee1d2e7db5fb069380fbf785e}

}); var tab1 = Titanium.UI.createTab({

{mkd-extraction-c89f458546edb1bf250f00a3c451b276}

});

var view1 = Titanium.UI.createView({backgroundColor:'#123'});
var view2 = Titanium.UI.createView({backgroundColor:'#456'});
var view3 = Titanium.UI.createView({backgroundColor:'#789'});
var scrollview = Titanium.UI.createScrollableView({

{mkd-extraction-e24ea97f0de30f4adfa83f896943762c}

});

scrollview.addEventListener('click', function(e) {

{mkd-extraction-3ab8832eb3f2ff50d14dbba91229f9a5}

});

win1.add(scrollview);

tabGroup.addTab(tab1);

// open tab group tabGroup.open();

Attachments

FileDateSize
app.js2011-04-15T03:21:06.000+0000928

Comments

  1. Michael Del Tito 2011-04-15

    Formatting above is wacky. app.js attached.

  2. Michael Del Tito 2011-04-15

    this is only reported on android, not tested on iOS

  3. Steven Verbeek 2011-09-04

    I also have this same issue. And it does the same thing on iOS
  4. Stephen Tramer 2012-07-26

    Cannot reproduce in SDK 2.2.0.014b86f, iPhone Sim 5.1.

JSON Source