Skip to content

Commit cc1ce37

Browse files
authored
Merge pull request #573 from dotnet/fix-projectsection-keyboard-nav
Fix keyboard navigation issue on DeveloperBalance App
2 parents 3a608bb + f8dab3e commit cc1ce37

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

9.0/Apps/DeveloperBalance/Pages/ProjectListPage.xaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@
1717
</ContentPage.Behaviors>
1818
<Grid>
1919
<ScrollView>
20-
<VerticalStackLayout
21-
BindableLayout.ItemsSource="{Binding Projects}"
22-
Margin="{StaticResource LayoutPadding}"
23-
Spacing="{StaticResource LayoutSpacing}">
24-
<BindableLayout.ItemTemplate>
20+
<CollectionView
21+
ItemsSource="{Binding Projects}"
22+
Margin="{StaticResource LayoutPadding}">
23+
<CollectionView.ItemsLayout>
24+
<LinearItemsLayout
25+
Orientation="Vertical"
26+
ItemSpacing="{StaticResource LayoutSpacing}"/>
27+
</CollectionView.ItemsLayout>
28+
<CollectionView.ItemTemplate>
2529
<DataTemplate x:DataType="models:Project">
2630
<Border>
2731
<VerticalStackLayout Padding="10">
@@ -33,8 +37,8 @@
3337
</Border.GestureRecognizers>
3438
</Border>
3539
</DataTemplate>
36-
</BindableLayout.ItemTemplate>
37-
</VerticalStackLayout>
40+
</CollectionView.ItemTemplate>
41+
</CollectionView>
3842
</ScrollView>
3943

4044
<controls:AddButton

0 commit comments

Comments
 (0)