Skip to content

Commit a619999

Browse files
committed
Fix for incorrect ToggleSwitch FocusVisual
1 parent 6d63dae commit a619999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/SettingsControls/src/SettingsCard/SettingsCard.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@
463463
Background="{TemplateBinding Background}"
464464
BorderBrush="{TemplateBinding BorderBrush}"
465465
BorderThickness="{TemplateBinding BorderThickness}"
466+
Control.IsTemplateFocusTarget="True"
466467
CornerRadius="{TemplateBinding CornerRadius}">
467468
<VisualStateManager.VisualStateGroups>
468469
<VisualStateGroup x:Name="CommonStates">
@@ -964,7 +965,6 @@
964965
Grid.ColumnSpan="3"
965966
Margin="0,5"
966967
Background="{ThemeResource ToggleSwitchContainerBackground}"
967-
Control.IsTemplateFocusTarget="True"
968968
CornerRadius="{TemplateBinding CornerRadius}" />
969969
<ContentPresenter x:Name="OffContentPresenter"
970970
Grid.RowSpan="3"

0 commit comments

Comments
 (0)