Bug 27374 - Label inside ScrollView does not render correctly on iPhone
Summary: Label inside ScrollView does not render correctly on iPhone
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.2.3
Hardware: PC Windows
: Highest critical
Target Milestone: ---
Assignee: Jason Smith [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2015-02-24 14:14 UTC by Matt Setzer
Modified: 2015-07-16 20:42 UTC (History)
6 users (show)

Tags: ios phone vis
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 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_REPRODUCIBLE

Description Matt Setzer 2015-02-24 14:14:17 UTC
A view with the following structure renders correctly on iPad, but does not display any text on iPhone.  Changing the Label to an Editor control (customized to disable Editable and Selectable) works correctly.  Placing the label outside the ScrollView and the StackLayout renders correctly on both devices, but in this case we're displaying a large amount of text and require scrolling.

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:res="clr-namespace:XXX;assembly=XXX"
             xmlns:src="clr-namespace:XXX;assembly=XXX"
             Title="{x:Static res:AppResources.XXX}"
             x:Class="XXX">
    <ScrollView>
      <StackLayout Padding="20,20,20,20">
        <Label BindingContext="{x:Static src:ViewModelLocator.XXX}"
               Text="{Binding Content}"/>
      </StackLayout>
    </ScrollView>
</ContentPage>
Comment 1 Jason Smith [MSFT] 2015-05-15 15:27:08 UTC
Can you please provide an example of the ViewModel as well?
Comment 2 Jason Smith [MSFT] 2015-07-16 20:42:31 UTC
Closing due to inability to reproduce