fix(ui): activatable charts draw their own keyboard outline

BarChart, StackedBar and HeatmapStrip outline the bar, segment or cell the
keyboard is on, so the element-wide system focus rectangle is turned off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-06 21:03:37 +00:00
1 parent 62c622786f
commit 4320769206
1 file changed
+13
+13
View File
@@ -151,6 +151,19 @@
<Setter Property="FocusVisualStyle" Value="{DynamicResource Focus.Ring}" />
</Style>
<!-- Charts that something activates take the keyboard and outline the bar, segment or cell it is on themselves. -->
<Style TargetType="v:BarChart">
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
</Style>
<Style TargetType="v:StackedBar">
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
</Style>
<Style TargetType="v:HeatmapStrip">
<Setter Property="FocusVisualStyle" Value="{x:Null}" />
</Style>
<!-- ===================== Preview viewport (BRIEF §12.3) ===================== -->
<!-- The image surface (a drawn visual, always left to right) and the numeric shot data stay left to right; the tool
row follows the layout direction. -->