xamarin/Xamarin.Forms

ScrollView IsClippedToBounds="true" not rendering on Android with Forms 3.3, 3.4, 3.5, 3.6, 4.0

Open

#4,455 opened on Nov 18, 2018

 (15 comments) (1 reaction) (0 assignees)C# (1,926 forks)batch import
3.3.0e/3 :clock3:help wantedi/regressioninactivep/Androidt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

My existing project has forms that basically look like this:

<StackLayout Orientation="Vertical" VerticalOptions="FillAndExpand"> <StackLayout ...> <ScrollView ... IsClippedToBounds="true"> <StackLayout ...> Bunch of controls </StackLayout> </ScrollView> </StackLayout> <StackLayout Orientation="Vertical" VerticalOptions="EndAndExpand"> Some buttons </StackLayout> </StackLLayout>

In Forms 3.2 everything works great but starting with Forms 3.3 the first scroll page renders but subsequent pages do not.

When setting IsClippedToBound off, the pages render but overlay the buttons.

This only applies to Android. My iOS and Windows 10 projects render correctly.

PS. I tried to indent the Xaml but it doesn't work.

Contributor guide