[TIMOB-6487] iOS: Popover - Popover window does not align properly when rotating on ipad only
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-01-30T15:53:40.000+0000 |
Affected Version/s | Release 1.7.5, Release 1.8.0.1 |
Fix Version/s | Sprint 2011-50, Release 2.0.0, Release 1.8.1 |
Components | iOS |
Labels | parity, popover, qe-testadded |
Reporter | Wilson Luu |
Assignee | Vishal Duggal |
Created | 2011-12-06T12:55:37.000+0000 |
Updated | 2014-06-19T12:42:48.000+0000 |
Description
Steps to reproduce:
1. Copy the following code to a TiMob project:
var win = Titanium.UI.createWindow();
win.orientationModes = [
Titanium.UI.PORTRAIT,
Titanium.UI.UPSIDE_PORTRAIT,
Titanium.UI.LANDSCAPE_LEFT,
Titanium.UI.LANDSCAPE_RIGHT,
];
var b1 = Titanium.UI.createButton({
title:'Show camera',
width:200,
height:40,
top:40
});
b1.addEventListener('click', function()
{
Titanium.Media.openPhotoGallery({
success:function(event)
{
Ti.API.debug('Success!');
},
cancel:function()
{
},
allowEditing:true
});
});
win.add(b1);
win.open();
2. Launch project in ipad
3. Click on button
4. Rotate ipad to landscape
Result: Popover window is not aligned properly with the button. See attachment.
Expected: Popover window should be aligned properly
Attachments
File | Date | Size |
---|---|---|
Screenshot 2011.12.06 12.52.50.png | 2011-12-06T12:55:37.000+0000 | 44261 |
Pull pending #932
Tested with 1.9.0.v20120112104633 on iPad 2 4.3.5
Reopening/closing to add/remove labels