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.
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.
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 1.5.1.6471?
Created attachment 13535 [details] Solution showing InputTransparent issues Demo solution showing input transparent issues. (Forms 1.5.1.6471) 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. Comments -------- 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.
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.
Can we get some love for this. Still not fixed in V2.2 and it seems like it should be an easy fix
No idea when this was fixed. but the sample now works with Forms V2.2.0