如果稍微倾斜 ios 设备,sfcombobox 在 xamarin.forms 中向上滚动到顶部。这是在我们第一次进入页面时发生的。
<combobox:SfComboBox DataSource="{Binding SamplePickerList, Mode=TwoWay}" HorizontalOptions="FillAndExpand" SelectedIndex="{Binding SamplePickerIndex, Mode=TwoWay}"
VerticalOptions="FillAndExpand" SelectedItem="{Binding SamplePicker,Mode=TwoWay}" />