Unplanned
Last Updated: 25 Mar 2025 08:48 by ADMIN
Lance
Created on: 14 Mar 2025 09:12
Category: TemplatedButton
Type: Bug Report
1
TemplatedButton: [iOS] Unable to scroll a list of TemplatedButtons in a custom scenario

When adding templated  buttons in a ScrollView and the ScrollView width is the same as the buttons width, i cannot scroll the view with the buttons, click/tap gesture occurs, and this blocks the scrolling

	<ScrollView HeightRequest="100 " WidthRequest="44"
				ios:ScrollView.ShouldDelayContentTouches="false">
		<Grid ColumnDefinitions="44">
			<Grid.RowDefinitions>
				<RowDefinition></RowDefinition>
				<RowDefinition></RowDefinition>
				<RowDefinition></RowDefinition>
				<RowDefinition></RowDefinition>
				<RowDefinition></RowDefinition>
				<RowDefinition></RowDefinition>
			</Grid.RowDefinitions>
			<telerik:RadTemplatedButton Content="123" x:Name="btn"
                                     WidthRequest="44"
                                     HeightRequest="44"
                                     Grid.Row="0" />
			<telerik:RadTemplatedButton Content="456"
                                     WidthRequest="44" x:Name="tembutton"
                                     HeightRequest="44"
                                     Grid.Row="1" />
			<telerik:RadTemplatedButton Content="789"
                                     WidthRequest="44" x:Name="templated"
                                     HeightRequest="44"
                                     Grid.Row="2" />
			<telerik:RadTemplatedButton Content="012" x:Name="temp"
                                     WidthRequest="44"
                                     HeightRequest="44"
                                     Grid.Row="3" />
			<telerik:RadTemplatedButton Content="345" x:Name="button"
                                     WidthRequest="44"
                                     HeightRequest="44"
                                     Grid.Row="4" />
			
		</Grid>
	</ScrollView>

2 comments
ADMIN
Didi
Posted on: 25 Mar 2025 08:48

Set the ScrollView width to a higher value than the inner grid. 

<ScrollView HeightRequest="100 " WidthRequest="100"
			ios:ScrollView.ShouldDelayContentTouches="false">
	<Grid ColumnDefinitions="44">

Regards,
Didi
Progress Telerik

Dev
Posted on: 25 Mar 2025 08:34
Any solutions?