Unplanned
Last Updated: 18 Jun 2025 09:56 by ADMIN
Chris Burtch
Created on: 16 May 2025 07:12
Category: DatePicker
Type: Bug Report
4
Pickers: [Android] The text in the spinners wraps when scrolling and using maui 9.0.60 and above

the text in the spinner wraps when scrolling the spinner. 

The issue happens in Time, TimeSpan, Date and DateTime pickers with day, month, hour spinners. 

The issue happens in maui 9.0.60 and 9.0.70 versions.

It works with maui 9.0.50 and lower versions 

2 comments
ADMIN
Didi
Posted on: 18 Jun 2025 09:56

Workaround for the RadListPicker:

<telerik:RadListPicker>
     <telerik:RadListPicker.ItemTemplate>
		<DataTemplate>
			<Grid RowDefinitions="*"
				  ColumnDefinitions="*" 
				  HorizontalOptions="Fill">
				<Label Text="{Binding YourPropertyName}" />
			</Grid>
		</DataTemplate>
     </telerik:RadListPicker.ItemTemplate>
</telerik:RadListPicker>

Regards,
Didi
Progress Telerik

Chris Burtch
Posted on: 16 May 2025 16:27

I found that it also affected RadListPickers. In my example, the ItemsSource was an array of strings that were numbers:

<telerik:RadListPicker.ItemsSource>
    <x:Array Type="{x:Type x:String}">
        <x:String>1</x:String>
        <x:String>5</x:String>
        <x:String>10</x:String>
        <x:String>15</x:String>
        <x:String>20</x:String>
        <x:String>25</x:String>
        <x:String>30</x:String>
        <x:String>40</x:String>
        <x:String>50</x:String>
        <x:String>75</x:String>
        <x:String>100</x:String>
    </x:Array>
</telerik:RadListPicker.ItemsSource>