Bug 58771 - Label with long text isn't visible inside ScrollView
Summary: Label with long text isn't visible inside ScrollView
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 2.3.5
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-08-15 14:41 UTC by Luke Lau
Modified: 2017-08-15 16:08 UTC (History)
2 users (show)

Tags: label, visibility, scrollview, ac
Is this bug a regression?: ---
Last known good build:

Test case (1016.40 KB, application/zip)
2017-08-15 15:01 UTC, Luke Lau

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 58771 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:

Description Luke Lau 2017-08-15 14:41:41 UTC
On iOS, creating a Label with a large text property and placing it inside a ScrollView does not render on iOS, and is invisible. 

This only occurs on a physical device and not in the simulator (tested on iPhone 5S iOS 10.3)

The ScrollView is still scrollable.

Using a custom font causes the App to crash without a stack trace, presumably due to running out of memory, but does not trigger the UIApplication willTerminate/memoryWarning methods.

Included is a test project which recreates it on the device.
Comment 1 Luke Lau 2017-08-15 15:01:53 UTC
Created attachment 24194 [details]
Test case
Comment 2 Paul DiPietro [MSFT] 2017-08-15 16:03:20 UTC
Also tested against the 2.3.6-nightly build, although the nightly does appear to stop the app from terminating.
Comment 3 Luke Lau 2017-08-15 16:08:48 UTC
I should clarify that the terminating is only when setting a custom font on the label, without setting it I cannot get it to terminate either