Skip to content

Commit 4c4e6a9

Browse files
authored
Merge pull request lepoco#931 from jackBonadies/development
Fix focus issues with ContentDialog
2 parents fef4028 + d63400b commit 4c4e6a9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
<Setter Property="DialogMaxWidth" Value="1000" />
2525
<Setter Property="VerticalContentAlignment" Value="Stretch" />
2626
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
27-
<Setter Property="Focusable" Value="False" />
27+
<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)