Bug 35354 - ScrollView inside of ContentView doesn't render
Summary: ScrollView inside of ContentView doesn't render
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: 1.5.1
Hardware: PC Windows
: --- normal
Target Milestone: UWP
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-10-29 10:06 UTC by R.Schindler
Modified: 2016-01-25 19:12 UTC (History)
2 users (show)

Tags:
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 FIXED

Description R.Schindler 2015-10-29 10:06:07 UTC
Hey,
I tried the XForms package for Windows Universal App and found that ScrollView inside of a ContentView doesn't render.

It's easy to reproduce just look at this code.

public MyView : ContentPage
{
   var contentView = new ContentView
   {
     Content = new Label
     {
        Text = "Test"
     }
   };

   var scroll = new ScrollView
   {
      Content = contentView
   };

   Content = new ScrollView
   {
      Content = scroll
   };
}
Comment 1 R.Schindler 2015-10-29 10:06:55 UTC
Of course I mean ContentView inside of a ScrollView
Comment 2 Ahmed Alejo 2015-11-27 10:53:36 UTC
This actually a "ScrollView-In-ScrollView" issue.

Why use 2 scrollviews

public YourView : ContentPage
{
   Content = new ScrollView {
                 Content = new ScrollView {
                               Content = new ContentView {
                                             Content = new Label {
                                                           Text = "Test"
                                                       }
                                         }
                           }
             }
   };
}
Comment 3 Rui Marinho 2016-01-25 19:12:50 UTC
This seems fixed in 2.0.1.