Skip to content

Commit 53ec039

Browse files
committed
fix(TextBox): Remove FocusRing on macOS
1 parent 3d9c72d commit 53ec039

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Uno.UI/UI/Xaml/Controls/PasswordBox/SecureTextBoxView.macOS.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ private void Initialize()
7979

8080
DrawsBackground = false;
8181
Bezeled = false;
82+
FocusRingType = NSFocusRingType.None;
8283
}
8384

8485
public override CGSize SizeThatFits(CGSize size)

src/Uno.UI/UI/Xaml/Controls/TextBox/TextBoxView.macOS.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ private void Initialize()
115115

116116
DrawsBackground = false;
117117
Bezeled = false;
118+
FocusRingType = NSFocusRingType.None;
118119
}
119120

120121
public override CGSize SizeThatFits(CGSize size) => IFrameworkElementHelper.SizeThatFits(this, base.SizeThatFits(size));

0 commit comments

Comments
 (0)