[TIMOB-13334] iPhone: Webview not bouncing/displaying correctly
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2017-06-20T23:13:48.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | ios |
Reporter | Surajit Biswas |
Assignee | Eric Merriman |
Created | 2013-03-28T11:43:22.000+0000 |
Updated | 2017-06-20T23:13:48.000+0000 |
Description
Hello,
I have created one simple web view which load one image from its resource directory using url property of web view. Here I set the background color of web view to yellow and height is 50%. Problem is if I scroll down the web view I can see the yellow color at the end of the image view. This is only happening in ios but in android it is not happening. This is not bouncing effect in iPhone. I have added the screen shots and the sample code. You can find my code in FirstView.js file.
var self = Ti.UI.createView();
//label using localization-ready strings from <app dir>/i18n/en/strings.xml
var webview = Titanium.UI.createWebView({
left : 0,
right: 0,
bottom: 0,
backgroundColor : "yellow",
top : 0,
width : "100%",
height : '50%',
});
if (Ti.Platform.osname == 'android') {
webview.url = '../../1.jpg';
} else {
webview.url = '1.jpg';
}
self.add(webview);
return self;
Attachments
File | Date | Size |
---|---|---|
Android_Emulator-2013-03-28-170012.png | 2013-03-28T11:43:22.000+0000 | 61624 |
iOS Simulator Screen shot 28-Mar-2013 4.55.30 PM.png | 2013-03-28T11:43:22.000+0000 | 64987 |
SampleWebView.zip | 2013-03-28T11:43:22.000+0000 | 3123914 |
I am unable to reproduce this issue with the following environment; iPhone 7 (10.2) Studio 4.9.0.201705302345 Ti SDK 6.1.1.v20170620103414 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.8.0_131