[TIMOB-9787] iOS: webview - Webpage does not cover the entire screen after zoom or pinch.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2017-05-24T21:45:42.000+0000 |
Affected Version/s | Release 2.1.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | core, qe-ios060112 |
Reporter | Anshu Mittal |
Assignee | Eric Merriman |
Created | 2012-06-25T04:47:29.000+0000 |
Updated | 2017-05-24T21:45:42.000+0000 |
Description
Webpage does not cover the entire screen after zoom or pinch.
This is not regression. This issue occurs on 2.0.2 as well.
Steps to reproduce:
1. Create an app using the code below.
2. Launch app in portrait mode.
3. Zoom or pinch the view.
4. Change orientation of the screen to landscape.
Actual:
The webview fails to expand to the width of the screen and leaves the white space at right side of the screen.
Expected:
The webview should expand to cover the entire screen area on changing orientation.
Titanium.UI.setBackgroundColor('#000');
var win = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#fff'
});
var webview1 = Ti.UI.createWebView({
url : 'http://www.appcelerator.com'
});
win.add(webview1);
win.open();
pinch doesn't work
Closing this ticket as the issue cannot be reproduced with the following environment; iPhone 7 (10.2) MacOS 10.11.6 (15G31) Studio 4.9.0.201705021158 Ti SDK 6.1.0.v20170519131839 Appc NPM 4.2.9 Appc CLI 6.2.1 Ti CLI 5.0.13 Alloy 1.9.11 Arrow 2.0.0 Xcode 8.2 (8C38) Node v4.8.2 Java 1.7.0_80