[AC-2753] Issue with Mapview and opacity-property
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Won't Fix |
| Resolution Date | 2012-07-23T07:44:41.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | mapview, opacity |
| Reporter | Michael M |
| Assignee | Mauro Parra-Miranda |
| Created | 2012-06-25T16:53:20.000+0000 |
| Updated | 2016-03-08T07:47:39.000+0000 |
Description
When I open a mapview which is using opacity-property and then go back(using iPhone navigation group) and the go again to mapview, the mapview is messed up. If I disable the opacity-property then it's fine.
Hello, Can you give a sample code about this? I tried to replicate the issue, but it seems to be working well. This is the code as I tested:
var win1 = Titanium.UI.createWindow({ backgroundColor: 'white' }); var win2 = Titanium.UI.createWindow({ backgroundColor: 'black', title: 'Blue Window' }); var win3 = Titanium.UI.createWindow({ backgroundColor: 'black', title: 'Blue Window' }); var mv = Ti.Map.createView({ opacity: 0.5, width: 300, height: 300 }); win3.add(mv); var btn = Ti.UI.createButton({ title: 'Open' }); btn.addEventListener('click', function(e) { nav.open(win3, {animated:true}); }); win2.add(btn); var nav = Titanium.UI.iPhone.createNavigationGroup({ window: win2 }); win1.add(nav); win1.open();Hello, Was this problem fixed? If not, can you please provide a sample code? Thank you