Bug 40514 - Input transparent does not work if background color not explicitly set on UWP
Summary: Input transparent does not work if background color not explicitly set on UWP
Status: RESOLVED ANSWERED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.2.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-04-19 11:09 UTC by FieldstrikeMobile
Modified: 2016-11-16 19:52 UTC (History)
3 users (show)

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


Attachments
Repo Case (308.04 KB, application/zip)
2016-04-19 11:09 UTC, FieldstrikeMobile
Details


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 ANSWERED

Description FieldstrikeMobile 2016-04-19 11:09:56 UTC
Created attachment 15765 [details]
Repo Case

I have attached a sample demonstrating the issue.

The sample contains a root grid which contains the following children.

1. button1
2. grid
3. button2

the middle grid has input transparent set to false meaning you should not be able to tap through to button 1.
but you can and the application crashes.

if you explicitly set the colour on the grid the input transparent blocks fine.
Comment 1 FieldstrikeMobile 2016-11-01 12:02:03 UTC
Any developments on this? Seems like it should be a pretty simple bug to fix. Been in here for 7 months now
Comment 2 Paul DiPietro [MSFT] 2016-11-16 19:52:56 UTC
After some discussion we've decided that this is a documentation issue and won't be changing the current behavior, as explicitly setting the color on the WinRT controls as a default behavior would result in a performance penalty for those unaffected by this issue. (For reference: https://github.com/xamarin/Xamarin.Forms/pull/511)