Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Regression issue - hidden fields can not be made visable #1736

Closed
czuck opened this issue Jan 29, 2018 · 5 comments
Closed

Regression issue - hidden fields can not be made visable #1736

czuck opened this issue Jan 29, 2018 · 5 comments

Comments

@czuck
Copy link

czuck commented Jan 29, 2018

Description

Running on Android, a page in a MasterDetail Detail that contains hidden elements in a scroll. If you change the elements to be visible they do not show.

Steps to Reproduce

  1. Run the attached project. Notice that the first view has a switch. Switch the switch and the hidden elements will become visable.
  2. Open the Master window and choose Page1. This is the same exact page, same code, but now the switch does not make the elements appear.
  3. Open the Master window and choose Page2. This is an identical pages but does not contain a ScrollView. Note that the switch does work here.
  4. Using Nuget, change the version of Forms to 2.3.4.270. Clean and Rebuild All. Now all 3 pages behave the same.

Expected Behavior

The hidden elements should become visible after the IsVisible property has been set to Visible

Actual Behavior

The hidden elements do not appear.

Basic Information

  • Version with issue:
  • Last known good version: 2.3.4.270
  • IDE:VS2017

Reproduction Link

HeaderTest.zip

@PureWeen
Copy link
Contributor

Repro confirms issues

Tested with latest Xam Forms / Android libraries as well.
iOS works hides and shows the field correctly
Android does not

Thank you for the reproduction

@JacobChrist
Copy link

What happens if you rotate the screen, does the switch start working?

@JacobChrist
Copy link

JacobChrist commented Jul 1, 2018

I think I have a related problem. I'm changing the text of a label in a Detail. The label will not resize as expected (that is at all). However, if I rotate the screen then the label will resize as expected. The Detail page works as expected if used outside of the MasterDetail relationship. Also, after I found your post I took my label out of the ScrollView and it now works in the MasterDetail relationship. I also have similar problems with buttons in a ScrollView in a MasterDetail relationhip.

I'm using Xamarin.Forms 3.0.0.561731.

@JacobChrist
Copy link

In trying to nail down where the code broke I realized that my problem is resolved in Xamarin.Forms 3.1.0.583944. Yours maybe as well.

@czuck
Copy link
Author

czuck commented Jul 2, 2018

Yes, this appears to be fixed in 3.1.0.583944

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants