Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
When there is a BoxView inside of a ContentView, the BoxView IsVisible
property does not properly inherit it’s value from it’s parent. So if I
have a ContentView with a BoxView inside of it, if I turn the ContentView’s
IsVisible property to “true”, the BoxView will not render on the screen,
but it still takes up space.
On Android, if I set both IsVisible properties on the parent ContentView
and the BoxView, behavior is as expected, and the BoxView shows/hides when
the IsVisible property changes.
On iOS, if I set both IsVisible properties on the parent ContentView and
the BoxView, the state of IsVisible needs to be toggled from it’s initial
state of false, to true, to false, and then true before it will appear.
Test case: https://github.com/jevenson/BoxViewTest
Notice line 39 of BoxViewText/BoxViewText.cs. Run the application with this line
uncommented, and then run it again commented out for both iOS and Android.
Looks related to the bug #22673
Just as a note, this is related to the Android Component as well
This is fixed in 1.5.0 stable release.