我有以下内容页面
<ContentPage>
<ContentPage.Content>
<ScrollView>
<StackLayout>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
<Editor Text="description" FontSize="20" FontAttributes="Bold" Margin="10" HeightRequest="200" HorizontalOptions="FillAndExpand"/>
</StackLayout>
</ScrollView>
</ContentPage.Content>
</ContentPage>
当我在 UWP 下运行它时,会出现奇怪的行为:如果我向下滚动一点并尝试点击例如第 6 个编辑器,我会专注于第 3 个编辑器控件。
当我在滚动查看器的顶部时,我会专注于正确的编辑器,但如果我滚动一点,我会错误地专注于编辑器。
看起来我只能访问 ScrollView 顶部可见的第一个 X 编辑器。有任何想法吗?