Skip to content

Commit c65b9ca

Browse files
committed
Merge pull request #2304 from MahApps/#2296-Textbox-hidden-focus-fix
fix hidden TextBox focus
2 parents 88c8bfe + 5f1423f commit c65b9ca

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

MahApps.Metro/Styles/Controls.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
</ResourceDictionary.MergedDictionaries>
3434

3535
<Style x:Key="FloatingMessageContainerStyle" TargetType="{x:Type ContentControl}">
36+
<Setter Property="IsTabStop" Value="False" />
37+
<Setter Property="Focusable" Value="False" />
3638
<Setter Property="MaxHeight" Value="0" />
3739
<Setter Property="IsHitTestVisible" Value="False" />
3840
<Setter Property="Margin" Value="5 0" />

docs/release-notes/1.2.1.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
MahApps.Metro v1.2.1 bug fix release.
44

55
# Bugfixes
6+
7+
- Fixed hidden focus for TextBox control (and other input controls) #2296 #2304

0 commit comments

Comments
 (0)