Bug 28366 - [Forms][iOS] Rendering error on ViewCell startup. Navigating off page and going back fixes height property
Summary: [Forms][iOS] Rendering error on ViewCell startup. Navigating off page and goi...
Status: RESOLVED NOT_ON_ROADMAP
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.4.0
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-03-24 12:08 UTC by Dominic N [MSFT]
Modified: 2015-05-15 16:45 UTC (History)
7 users (show)

Tags: ios visual viewcell
Is this bug a regression?: ---
Last known good build:


Attachments
Test Project (164.04 KB, application/zip)
2015-03-24 12:08 UTC, Dominic N [MSFT]
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 NOT_ON_ROADMAP

Description Dominic N [MSFT] 2015-03-24 12:08:32 UTC
Created attachment 10469 [details]
Test Project

## Overview

We have a report of an issue with Xamarin.Forms for iOS where there is a rendering error in the initial rendering for ViewCells where the height is not calculated properly. A sample has been provided that has been tested with 1.4.0 and 1.4.1-pre1. Navigating off the page (push) and returning results in a fixed rendering.


## Steps to reproduce

1. Download sample app
2. Run on iOS device or simulator
3. Press on of the options
4. Press 'back' button


## Expected results

Initial rendering for ViewCell fills and expands for the content.


## Actual results

Initial rendering for ViewCell does not expand height-wise
Comment 2 Jason Smith [MSFT] 2015-05-15 16:45:44 UTC
This isn't a sizing error. The user is not setting a Cell.Height for the ViewCell. Only ListView supports auto-sizing rows on iOS.