xamarin/Xamarin.Forms

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

Aperta

#4455 aperta il 18 nov 2018

 (15 commenti) (1 reazione) (0 assegnatari)C# (1926 fork)batch import
3.3.0e/3 :clock3:help wantedi/regressioninactivep/Androidt/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor