Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11574] MobileWeb: activityindicator blocks alert event.

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2012-10-25T17:27:20.000+0000
Affected Version/sRelease 2.0.2, Release 2.1.2, Release 2.1.3
Fix Version/sn/a
ComponentsMobileWeb
Labelsn/a
ReporterAmuktha Akkinepally
AssigneeChris Barber
Created2012-10-25T00:03:21.000+0000
Updated2014-06-19T12:42:36.000+0000

Description

When activity indicator is added to a window along with an other view, It does not fire the view's event even though the Activity Indicator is hidden. It works perfectly fine on iOS and Android.

Steps to reproduce:

1. Load the below app.js 2. Run it on MobileWeb Browser. Expected Result: The alert message should pop up Actual result: There is no alert message being displayed because the event is not getting fired.

app.js

var win2 = Ti.UI.createWindow({
  backgroundColor: 'white',
  fullscreen: true
});

// create view but make it same size and place
var simpleView = Ti.UI.createView({
    backgroundColor: 'blue',
    top: 50,
    right: 50,
    bottom: 50,
    left: 50
});

// display message
simpleView.addEventListener('click',function() {
    alert('view has been clicked');
});

win2.add(simpleView);

var activityIndicator = Ti.UI.createActivityIndicator({
  color: 'red',
  top: 50,
  right: 50,
  bottom: 50,
  left: 50
});

activityIndicator.hide();

// add first 
win2.add(activityIndicator);

win2.open();

Comments

  1. Bryan Hughes 2012-10-25

    Duplicate of TIMOB-11558

JSON Source