Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9787] iOS: webview - Webpage does not cover the entire screen after zoom or pinch.

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2017-05-24T21:45:42.000+0000
Affected Version/sRelease 2.1.0
Fix Version/sn/a
ComponentsiOS
Labelscore, qe-ios060112
ReporterAnshu Mittal
AssigneeEric Merriman
Created2012-06-25T04:47:29.000+0000
Updated2017-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();

Comments

  1. jithinpv 2013-04-11

    pinch doesn't work
  2. Lee Morris 2017-05-24

    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

JSON Source