[TIMOB-9674] MobileWeb: view - can not click a view that is over top of an imageView when there is not backgroundColor set on the view in IE9
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2017-05-01T22:32:13.000+0000 |
Affected Version/s | Release 2.1.0 |
Fix Version/s | n/a |
Components | MobileWeb |
Labels | linvalid |
Reporter | Jon Alter |
Assignee | Chris Barber |
Created | 2012-06-20T16:29:03.000+0000 |
Updated | 2018-04-04T23:20:25.000+0000 |
Description
You can not click a view that is over top of an imageView when there is not backgroundColor set on the view in IE9
Steps to repro:
Step 1: run the code below in ie9 Step 2: click on the image and notice that the singletap event is not fired unless you click to the side of the image on the view (if you run it in another browser like chrome you will be able to click directly on the image and the singletap event will fire).
var win = Ti.UI.createWindow({
backgroundColor: 'white'
});
win.open();
var iv = Ti.UI.createImageView({
height: 300,
width: 300,
backgroundColor: '#666',
image: "http://outskirtsbattledome.wikispaces.com/file/view/Bender.jpg/125149777/Bender.jpg",
zIndex: 5
});
var view = Ti.UI.createView({
// Workaround
// backgroundColor: '#000',
// opacity: 0,
zIndex: 10
});
view.addEventListener('singletap', function(){
Ti.API.info('########### singletap');
});
win.add(iv);
win.add(view);
Resolving ticket as "Won't Fix" as MobileWeb is no longer supported.
Closing as will not fix.