Bug 35248 - Changing input transparent does nothing
Summary: Changing input transparent does nothing
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 1.5.1
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-10-26 06:36 UTC by FieldstrikeMobile
Modified: 2016-05-04 16:07 UTC (History)
1 user (show)

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

Solution showing InputTransparent issues (303.11 KB, application/x-zip-compressed)
2015-10-27 05:30 UTC, FieldstrikeMobile

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 FieldstrikeMobile 2015-10-26 06:36:40 UTC
If you create a grid and set its InputTransparent property to false you cannot change this once the grid has been added to a view.  

The behavior appears correct in Android but not iOS.  (Windows untested)

Steps to produce.

1. Create a grid containing a button and set the grids input transparent to false so the button cannot be clicked.

2. Add another button that will change the input transparent property of the grid.  This will not alter the behavior.
Comment 1 Paul DiPietro [MSFT] 2015-10-26 19:37:21 UTC
I think I may be seeing some sort of behavior that's along the lines of what you're describing, but could you provide a small reproduction project so I can see what's occurring on your end of things? I imagine you might be using Forms
Comment 2 FieldstrikeMobile 2015-10-27 05:30:25 UTC
Created attachment 13535 [details]
Solution showing InputTransparent issues

Demo solution showing input transparent issues. (Forms

DemoView contains a grid with 2 rows.

Each row contains its own grid

Top Row
Input transparent = true
Contains a button and a label
Button is hooked up to an event that changes the labels text.

Bottom Row
Contains a button that is hooked up to an event that changes the top rows grids Input Transparent property to False.

Expected Behavior
You should not be able to interact with the button in the top row until you click the button on the bottom row.

Test Behavior
The top button is always ignores input.

 If you set the InputTransparent property to false in the xaml you can click the top button.  If you invert the test completely it I would expect the button to ignore input but it does not.
Comment 3 FieldstrikeMobile 2015-10-27 05:32:26 UTC
In addition to the example - when you run on Android the behavior is different again.  The button in the top grid remains clickable regardless of the InputTransparent property initially set.
Comment 4 FieldstrikeMobile 2016-04-07 14:22:03 UTC
Can we get some love for this. Still not fixed in V2.2 and it seems like it should be an easy fix
Comment 5 FieldstrikeMobile 2016-05-04 16:07:52 UTC
No idea when this was fixed. but the sample now works with Forms V2.2.0