Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11006] Blackberry: View click events are firing multiple times.

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2014-08-07T23:40:41.000+0000
Affected Version/sn/a
Fix Version/sSprint 2012-19 BB, BB Preview 3
ComponentsBlackBerry
Labelsblackberry, module_window, qe-manualtest, regression
ReporterJosh Roesslein
AssigneeJosh Roesslein
Created2012-09-19T15:35:40.000+0000
Updated2014-08-07T23:41:57.000+0000

Description

If you click a view the "click" event will fire multiple times (twice). It seems we are now getting both a touch "up" and "down" event. This appears to be a regression from the R8 SDK update.

Test Case

var win = Ti.UI.createWindow();

var view = Ti.UI.createView({width:100, height: 100, backgroundColor: 'blue');
win.add(view);

view.addEventListener('click', function(e) {
  Ti.API.info('click event fired');
})

win.open();
Success: The click event should fire once when clicking the blue view. Failure: The click event is firing multiple times for each click by the user.

Comments

  1. Josh Roesslein 2012-09-19

    Created [PR #2](https://github.com/appcelerator/titanium_mobile_blackberry/pull/2) to resolve issue.
  2. Lokesh Choudhary 2013-02-06

JSON Source