Skip to content

Commit 7613bad

Browse files
committed
Fix context menu focus visuals
1 parent 01be6a1 commit 7613bad

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Flow.Launcher/Resources/CustomControlTemplate.xaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213
Style="{DynamicResource {ComponentResourceKey ResourceId=MenuScrollViewer,
214214
TypeInTargetAssembly={x:Type FrameworkElement}}}">
215215
<ItemsPresenter
216-
KeyboardNavigation.DirectionalNavigation="None"
216+
KeyboardNavigation.DirectionalNavigation="Cycle"
217217
KeyboardNavigation.TabNavigation="None"
218218
RenderOptions.ClearTypeHint="Enabled"
219219
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
@@ -243,8 +243,6 @@
243243
<Setter Property="Padding" Value="{DynamicResource MenuFlyoutItemThemePadding}" />
244244
<Setter Property="FontSize" Value="{DynamicResource ControlContentThemeFontSize}" />
245245
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
246-
<Setter Property="IsTabStop" Value="False" />
247-
<Setter Property="KeyboardNavigation.IsTabStop" Value="False" />
248246
<Setter Property="KeyboardNavigation.TabNavigation" Value="None" />
249247
<Setter Property="VerticalContentAlignment" Value="Center" />
250248
<Setter Property="ScrollViewer.PanningMode" Value="Both" />

0 commit comments

Comments
 (0)