Bug 53359 - ListView Row height is not calculated correctly on iOS if ViewCell has a Grid with row height Auto
Summary: ListView Row height is not calculated correctly on iOS if ViewCell has a Grid...
Status: CONFIRMED
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS (show other bugs)
Version: 2.3.4
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-03-15 14:30 UTC by thomas
Modified: 2017-09-23 05:10 UTC (History)
7 users (show)

Tags: bug, ios, viewcell height, listview ac
Is this bug a regression?: ---
Last known good build:

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 for Bug 53359 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description thomas 2017-03-15 14:30:22 UTC
Created attachment 20355 [details]
JistTV App please handle confidential

Hi,

this is pretty strange and still happens in 2.3.4.214-pre5.

I tried to create a reproproject but could not reproduce the bug there so I made two screencasts

1. Explains the problem and shows how it should look like on Android https://www.screencast.com/t/MFGcg9LUPZX
2. How it actually looks on iOS: https://www.screencast.com/t/eMU363pu 


and will upload my App as private Attachment I hope you can find the location of the bug.

Best
Thomas
Comment 1 Jimmy [MSFT] 2017-03-15 18:54:04 UTC
Hi Thomas, thanks for filing this report! Let me run the attached project to try reproducing and confirming this issue. I'll update the report with my results.
Comment 2 Jimmy [MSFT] 2017-03-15 19:55:49 UTC
I was able to reproduce the issue with the attached repro project on iOS. The ViewCell height is not correct and the Label gets cut-off: https://www.dropbox.com/s/933fbhin47ddjqo/2017-03-15_12-33-00-PM.jpg?dl=0

However, if the cell goes off-screen and returns on-screen, then it will be rendered properly: https://www.dropbox.com/s/432qpa29wwddt6e/2017-03-15_12-35-21-PM.jpg?dl=0

I don't believe this is the same issue as bug 51536 though because when testing with Forms 2.3.4-pre4 (the version before it was fixed), the issue still occurred even after scrolling a cell off-screen and back. This may actually be an issue with the Grid height not being initially calculated correctly.

I am confirming this report and the team will investigate further.


### Version Tests
Forms 2.3.5.67-nightly  BAD
Forms 2.3.4-pre5        BAD
Forms 2.3.4-pre4        BAD
Forms 2.3.3.193         BAD
Comment 3 thomas 2017-03-15 21:06:43 UTC
Thanks great.
Comment 4 thomas 2017-03-28 14:10:58 UTC
Anything new on this?
This is a real pain at the moment.
Comment 5 thomas 2017-04-07 12:31:04 UTC
Can this issue made public but the attachement kept private?
Comment 6 John Miller [MSFT] 2017-04-18 12:17:42 UTC
@thomas,

I've updated the bug report to be public and the attachment private.
Comment 7 thomas 2017-04-20 09:36:33 UTC
Not sure but isn't that the same issue as

https://bugzilla.xamarin.com/show_bug.cgi?id=44525

Wich is marked as solved?
Comment 8 thomas 2017-07-13 09:29:32 UTC
Why isn't this no longer assigned to anybody?
Comment 9 thankee 2017-09-23 05:10:41 UTC
I have the same issue, Grid in listview dosen't calculate its height correctly when I set the height of RowDefinition to auto.