Bug 31487 - webview in tabbedpage has black margin
Summary: webview in tabbedpage has black margin
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.4.2
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Rui Marinho
Depends on:
Reported: 2015-06-29 19:35 UTC by Alessandro
Modified: 2016-03-14 19:14 UTC (History)
6 users (show)

Tags: ios webview ac
Is this bug a regression?: ---
Last known good build:

test to reproduce the error (184.34 KB, application/zip)
2015-06-29 19:35 UTC, Alessandro

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Alessandro 2015-06-29 19:35:49 UTC
Created attachment 11784 [details]
test to reproduce the error

I have a webview in the second panel of a tabbed page.
in iOS, the webview can scroll and black border appear.
If I have only one tabbed page, the web view scroll correctly
Comment 1 Parmendra Kumar 2015-06-30 06:54:41 UTC
I have checked this issue with attached project and getting same behavior as mentioned in bug description.

Screencast: http://www.screencast.com/t/NonlrkqYfvQ7

ApplicationOutput Log: https://gist.github.com/Parmendrak/3c9059cbbc2e32323761
IDE Log: https://gist.github.com/Parmendrak/919147c2c38646ff7061

Environment info:

=== Xamarin Studio ===

Version 5.9.3 (build 1)
Installation UUID: 1a096c6f-0678-402e-89b2-a2c10f7e80e4
	Mono 4.0.1 ((detached/ed1d3ec)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400010044

=== Apple Developer Tools ===

Xcode 6.2 (6776)
Build 6C131e

=== Xamarin.iOS ===

Version: (Enterprise Edition)
Hash: 6916d0e
Branch: master
Build date: 2015-06-18 17:18:10-0400

=== Xamarin.Android ===

Version: (Enterprise Edition)
Android SDK: /Users/360_macmini/Desktop/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: (Enterprise Edition)

=== Build Information ===

Release ID: 509030001
Git revision: 5a524e1726ed103fdd4fe37e0356f2b35466ce9d
Build date: 2015-06-02 16:35:08-04
Xamarin addins: 51957cfbd06be911b212671ad05c2c6221ac90f9

=== Operating System ===

Mac OS X 10.9.4
Darwin ShrutiMac.local 13.3.0 Darwin Kernel Version 13.3.0
    Tue Jun  3 21:27:35 PDT 2014
    root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
Comment 2 Rui Marinho 2015-09-25 18:44:04 UTC
Should be fixed in 1.5.1-pre1
Comment 3 Parmendra Kumar 2015-10-09 12:46:27 UTC
I have checked this issue with Xamarin.Forms 1.5.1-pre1 and its working fine.

Hence closing this issue.
Comment 4 ramesh.sringeri 2016-02-28 16:04:00 UTC
It appears that the bug is back in Xamarin.Forms

Any workarounds? 

@Parmendra Have you upgraded to 2.0 and verified that your tabbed page works as expected?
Comment 5 Parmendra Kumar 2016-03-14 14:07:54 UTC

I have checked this issue with forms latest version and I am not able to reproduce this issue, Its working fine at my end.

Screencast: http://www.screencast.com/t/WrekruPy

Please recheck this issue with latest forms version and if you still facing this issue please feel free to file a separate bug regarding this.

Comment 6 Alessandro 2016-03-14 19:14:57 UTC
@parmendrakumar I think you have to test with my attachment in the first post. The problem (if I remember correctly) depends by a WebView inside a TabPage...