Verschachtelt ScrollView
funktioniert nicht. Wie man es löst?
Es verwirrt mich für eine lange ZeitIn Xamarin.Form ein Scrollview in einem Scrollview geschachtelt, Scrollview innerhalb Fehler in Android
<ScrollView x:Name="parentScrollView" Grid.Row="1">
<StackLayout>
<AbsoluteLayout VerticalOptions="FillAndExpand" Margin="0,-8,0,0">
<AbsoluteLayout AbsoluteLayout.LayoutBounds="0,0,1,1" AbsoluteLayout.LayoutFlags="All">
<AbsoluteLayout x:Name="scrollAbsoluteLayout">
<ScrollView x:Name="scrollView">
<Label x:Name="contentText" FontSize="20" TextColor="{x:Static local:UIColorConfigs.Compliment_text_color}" Margin="35,10,103,0">
<Label.FontFamily>
<OnPlatform x:TypeArguments="x:String" iOS="segoescb" Android="segoescb.ttf#segoescb" />
</Label.FontFamily>
</Label>
</ScrollView>
</AbsoluteLayout>
</AbsoluteLayout>
</AbsoluteLayout>
</StackLayout>
</ScrollView>
Nach https://developer.xamarin.com/guides/xamarin-forms/user-interface/layouts/scroll-view/ sollten verschachtelte ScrollViews vermieden werden , unabhängig vom Betriebssystem. Das obige Beispiel erscheint wie ein schlechtes Design, versuche es zu überdenken und folge den offiziellen Richtlinien. – EvZ