MobileWeb View updateLayout() does not do anything on action
Works in iOS, does not work on mobileweb
Steps to reproduce:
1. copy code below into new project
2. run in mobileweb
Notice that when you click the grey rectangle it does not change shape or position
3. run in iPhone emulator
Notice that when you click the grey rectangle, it shrinks
CODE
var win1 = Titanium.UI.createWindow({
backgroundColor:'#fff'
});
var view = Ti.UI.createView({
width: 200,
height: 300,
backgroundColor: '#444'
});
view.startLayout();
view.top = 50;
view.left = 50;
view.finishLayout();
view.addEventListener('click', function() {
view.updateLayout({
top: 100,
left: 100,
width: 100,
height: 150
});
});
win1.add(view);
win1.open();
Closing ticket due to time passed and lack of progress in the past few years. Any problems, please file a new ticket.