Skip to content

Commit

Permalink
Enable navigation via arrow keys in ScrollViewer
Browse files Browse the repository at this point in the history
  • Loading branch information
shatyuka committed Dec 31, 2024
1 parent 2a2973b commit 591851d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,8 @@
VerticalScrollBarVisibility="Auto">
<ItemsControl ItemsSource="{x:Bind GameNewsData.SocialMedia}"
TabFocusNavigation="Once"
IsTabStop="False">
IsTabStop="False"
XYFocusKeyboardNavigation="Enabled">
<ItemsControl.Transitions>
<PopupThemeTransition />
</ItemsControl.Transitions>
Expand Down Expand Up @@ -667,7 +668,8 @@
<StackPanel Margin="0,0,16,4">
<ItemsControl ItemsSource="{x:Bind GameNewsData.NewsPostTypeActivity}"
IsTabStop="False"
TabFocusNavigation="Once">
TabFocusNavigation="Once"
XYFocusKeyboardNavigation="Enabled">
<ItemsControl.ItemTemplate>
<DataTemplate x:DataType="sophonTypes:LauncherGameNewsPost">
<Button HorizontalAlignment="Stretch"
Expand Down Expand Up @@ -744,7 +746,8 @@
<StackPanel Margin="0,0,16,4">
<ItemsControl ItemsSource="{x:Bind GameNewsData.NewsPostTypeAnnouncement}"
IsTabStop="False"
TabFocusNavigation="Once">
TabFocusNavigation="Once"
XYFocusKeyboardNavigation="Enabled">
<ItemsControl.ItemTemplate>
<DataTemplate x:DataType="sophonTypes:LauncherGameNewsPost">
<Button HorizontalAlignment="Stretch"
Expand Down Expand Up @@ -821,7 +824,8 @@
<StackPanel Margin="0,0,16,4">
<ItemsControl ItemsSource="{x:Bind GameNewsData.NewsPostTypeInfo}"
IsTabStop="False"
TabFocusNavigation="Once">
TabFocusNavigation="Once"
XYFocusKeyboardNavigation="Enabled">
<ItemsControl.ItemTemplate>
<DataTemplate x:DataType="sophonTypes:LauncherGameNewsPost">
<Button HorizontalAlignment="Stretch"
Expand Down

0 comments on commit 591851d

Please sign in to comment.