Bug 28722 - InputTransparent does not work in Windows Phone
Summary: InputTransparent does not work in Windows Phone
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: 1.4.1
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-04-03 06:34 UTC by Prashant Cholachagudda
Modified: 2017-03-23 18:13 UTC (History)
4 users (show)

Tags: windows phone inputtransparent U7K ac
Is this bug a regression?: ---
Last known good build:

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:
Status:
RESOLVED FIXED

Description Prashant Cholachagudda 2015-04-03 06:34:05 UTC
InputTransparent does not work in Windows Phone while it works well on iOS and Android. 

To reproduce the bug, (use XF 1.4 or 1.4.2-pre2).

Create a new Mobile Application and change the App.Cs with:

public App()
{
//Container
var parentGrid = new Grid();

//Child at back of the UI
var btnBack = new Button();
btnBack.Text = "Test KO";
btnBack.Clicked += btn_Clicked;
btnBack.TranslationX = -75;
btnBack.WidthRequest = 50;
btnBack.HeightRequest = 50;
btnBack.VerticalOptions = LayoutOptions.Center;
btnBack.HorizontalOptions = LayoutOptions.Center;
parentGrid.Children.Add(btnBack);

//Visual element
var rectangle = new Grid();
rectangle.BackgroundColor = Color.Blue;
rectangle.Opacity = 0.5;
rectangle.InputTransparent = true;
parentGrid.Children.Add(rectangle);

//Child at back of the UI
var btnFront = new Button();
btnFront.Text = "Test OK";
btnFront.Clicked += btn_Clicked;
btnFront.TranslationX = 75;
btnFront.WidthRequest = 50;
btnFront.HeightRequest = 50;
btnFront.VerticalOptions = LayoutOptions.Center;
btnFront.HorizontalOptions = LayoutOptions.Center;
parentGrid.Children.Add(btnFront);


// The root page of your application
MainPage = new ContentPage
{
Content = parentGrid
};
}

void btn_Clicked(object sender, EventArgs e)
{
//Just a test
throw new NotImplementedException();
}
Comment 1 Gaudebert Loïs 2015-04-03 08:17:48 UTC
What is the delays corrections for this kind of bug?
We are blocked...