Skip to content

Commit 1b92920

Browse files
committed
Fix issue where on tabbing focus can leave content dialog and focus background controls.
1 parent 1f4cf3a commit 1b92920

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Wpf.Ui/Controls/ContentDialog/ContentDialog.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
<Setter Property="VerticalContentAlignment" Value="Stretch" />
2626
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
2727
<Setter Property="Focusable" Value="True" />
28+
<Setter Property="KeyboardNavigation.TabNavigation" Value="Cycle" />
29+
<Setter Property="KeyboardNavigation.DirectionalNavigation" Value="Cycle" />
2830
<Setter Property="DialogMargin" Value="35" />
2931
<Setter Property="BorderThickness" Value="1" />
3032
<Setter Property="Foreground" Value="{DynamicResource ContentDialogForeground}" />

0 commit comments

Comments
 (0)