[TIMOB-11574] MobileWeb: activityindicator blocks alert event.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2012-10-25T17:27:20.000+0000 |
Affected Version/s | Release 2.0.2, Release 2.1.2, Release 2.1.3 |
Fix Version/s | n/a |
Components | MobileWeb |
Labels | n/a |
Reporter | Amuktha Akkinepally |
Assignee | Chris Barber |
Created | 2012-10-25T00:03:21.000+0000 |
Updated | 2014-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();
Duplicate of TIMOB-11558